Skip to content
Snippets Groups Projects
Commit aa1a5e47 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

Merge branch 'master' into feature/update-ci-config-for-master

parents b73bebd5 9da2de98
No related branches found
No related tags found
No related merge requests found
Pipeline #10498 failed
......@@ -5,7 +5,7 @@
#include <cmath> // provides std::abs and std::sqrt
#include <cassert> // provides assert
#include <limits>
#include <iostream> // provides std::cout, std::endl
#include <dune/common/exceptions.hh> // provides DUNE_THROW(...), Dune::Exception
......@@ -191,7 +191,7 @@ protected:
// 7) get smallest magnitude eigenvalue via TLIME iteration
// (assume that m_ is symmetric)
{
const Real epsilon = 1e-11;
const Real epsilon = std::sqrt(std::numeric_limits<Real>::epsilon());
x = 1.0;
// 7.1) perform TLIME iteration for smallest magnitude
// eigenvalue
......@@ -322,7 +322,7 @@ protected:
// 9) get smallest singular value as square root of the smallest
// magnitude eigenvalue of m^t*m via TLIME iteration
{
const Real epsilon = 1e-11;
const Real epsilon = std::sqrt(std::numeric_limits<Real>::epsilon());
x = 1.0;
// 9.1) perform TLIME iteration for smallest magnitude
// eigenvalue of m^t*m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment