MueLu: types mismatch in Driver.cpp equilibration
Created by: lucbv
The vector and matrix Scalar types forming a linear system should be consistent.
It seems that a call to KokkosBlas::abs is done on a
Scalar type vector and a
magnitude type vector.
Motivation and Context
The code is not compiling properly when
std::complex<> is used
Definition of Done
- MueLu Driver compiles
My guess is that in MueLu_Driver.cpp on line 167 where the call to KokkosBlas::abs() is made, the two vectors should use the same
Scalar type. Most likely the magnitude type needs to be replaced by a Scalar type even if this means that in the case of complex numbers only the real part is non zero.
Steps to Reproduce
Build MueLu with tests and examples on and with
See builds on cdash