[Common] Check entity pointer in vtk function

parent 2cac8df3
......@@ -70,6 +70,7 @@ public:
Range operator()(const Domain& x) const
{
Range y;
assert(_entity);
_gf->evaluate(*_entity,x,y);
return y;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment