Skip to content
Snippets Groups Projects
Commit fea1aef1 authored by oliver.sander_at_tu-dresden.de's avatar oliver.sander_at_tu-dresden.de
Browse files

Avoid compiler warning about missing 'return' statement

parent 610ba775
No related branches found
No related tags found
No related merge requests found
Pipeline #17799 failed
......@@ -181,10 +181,10 @@ energy(const Entity& element,
return strainEnergyWithLog;
} else if (mooneyrivlin_energy == "square") {
return strainEnergyWithSquare;
} else {
return strainEnergyCiarlet;
}
std::cout << std::fixed;
return strainEnergyCiarlet;
}
} // namespace Dune
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment