Commit 435b5b4b authored by Santiago Ospina's avatar Santiago Ospina

fixed dune throw error

parent 47e5d483
......@@ -105,9 +105,8 @@ public:
if (_adaptpolicy != AdaptivityPolicy::None)
DUNE_THROW(Dune::NotImplemented,"Simulation can't be adapted!");
else
DUNE_THROW(Dune::InvalidStateException,
"Simulation uses adaptivity policy None.
Method adapt() must not be called!");
DUNE_THROW(Dune::InvalidStateException,"Simulation uses adaptivity"
<< "policy None. Method adapt() must not be called!");
}
/**
......
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