Skip to content
Snippets Groups Projects
Commit 37e13d46 authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Increase tolerances a bit

parent 68a080bc
No related branches found
No related tags found
No related merge requests found
...@@ -92,7 +92,7 @@ int main (int argc, char *argv[]) try ...@@ -92,7 +92,7 @@ int main (int argc, char *argv[]) try
auto diff = adolcGradient[i] - paperGrad[i]; auto diff = adolcGradient[i] - paperGrad[i];
if (diff.two_norm()>1e-6) if (diff.two_norm()>1e-5)
DUNE_THROW(Dune::Exception,"Wrong local derivative, error is "<<diff.two_norm()); DUNE_THROW(Dune::Exception,"Wrong local derivative, error is "<<diff.two_norm());
} }
...@@ -136,7 +136,7 @@ int main (int argc, char *argv[]) try ...@@ -136,7 +136,7 @@ int main (int argc, char *argv[]) try
auto diff = *adolcIt; auto diff = *adolcIt;
diff -= *paperIt; diff -= *paperIt;
if (diff.frobenius_norm() > 1e-6) if (diff.frobenius_norm() > 1e-5)
DUNE_THROW(Dune::Exception,"Wrong local hessian, error is "<<diff.frobenius_norm()); DUNE_THROW(Dune::Exception,"Wrong local hessian, error is "<<diff.frobenius_norm());
} }
assert(paperIt==paperEndIt); assert(paperIt==paperEndIt);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment