aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util
diff options
context:
space:
mode:
authorGravatar Bernardo Bahia Monteiro <bbahia@umich.edu>2020-03-29 18:53:18 -0400
committerGravatar Bernardo Bahia Monteiro <bbahia@umich.edu>2020-03-29 19:44:12 -0400
commit54a0a9c9dd83aad42e79238ec8f0932b2a5e7881 (patch)
tree88faa8db5290939e2382fa6a579a769a3d0db732 /Eigen/src/Core/util
parent4fd5d1477b221fc7daf2b7f1c7e4ee4f04ceaced (diff)
Bugfix: conjugate_gradient did not compile with lazy-evaluated RealScalar
The error generated by the compiler was: no matching function for call to 'maxi' RealScalar threshold = numext::maxi(tol*tol*rhsNorm2,considerAsZero); The important part in the following notes was: candidate template ignored: deduced conflicting types for parameter 'T'" ('codi::Multiply11<...>' vs. 'codi::ActiveReal<...>') EIGEN_ALWAYS_INLINE T maxi(const T& x, const T& y) I am using CoDiPack to provide the RealScalar type. This bug was introduced in bc000deaa Fix conjugate-gradient for very small rhs
Diffstat (limited to 'Eigen/src/Core/util')
0 files changed, 0 insertions, 0 deletions