Commit 28ea36b7 authored by Santiago Ospina's avatar Santiago Ospina

Fixed else statement on adapt policy

Signed-off-by: Santiago Ospina De Los Ríos's avatarSantiago Ospina <santiago.ospina@iup.uni-heidelberg.de>
parent 13875fcb
......@@ -118,10 +118,11 @@ int main(int argc, char** argv)
if (adapt_policy_str == "waterFlux")
adapt_policy = Dune::Dorie::AdaptivityPolicy::WaterFlux;
else (adapt_policy_str != "none")
else if (adapt_policy_str != "none")
DUNE_THROW(Dune::NotImplemented,"The adaptivity policy " <<
adapt_policy_str << " is not implemented!");
// Attempt to create output directory
mkdir(outputPath.c_str(), S_IRWXU | S_IRWXG | S_IROTH | S_IXOTH);
int result = access(outputPath.c_str(), W_OK);
......
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