Skip to content
Snippets Groups Projects

[fix] check for dune version in constaintsolvers using removed…

Merged Katharina Heck requested to merge fix/version-control-singular-limit into master
3 files
+ 6
2
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -106,9 +106,9 @@ public:
solveIdealMix_(fluidState, paramCache, phaseIdx, targetFug);
return;
}
#if !DUNE_VERSION_NEWER(DUNE_COMMON,2,6)
Dune::FMatrixPrecision<Scalar>::set_singular_limit(1e-25);
#endif
// save initial composition in case something goes wrong
Dune::FieldVector<Scalar, numComponents> xInit;
for (int i = 0; i < numComponents; ++i) {
Loading