Anasazi: Build error with Scalar=complex<float> enabled #6612
Labels
impacting: configure or build
The issue is primarily related to configuring or building
pkg: Anasazi
type: bug
The primary issue is a bug in Trilinos code or tests
Bug Report
@trilinos/anasazi
Description
anasazi/src/AnasaziMVOpTester.hpp
has code like this:SCT
isTeuchos::ScalarTraits<Scalar>
. WhenScalar
iscomplex<float>
, this code does not compile, becauseoperator*(double, complex<float>)
does not exist. The fix is to cast the constants 0.5 and 0.33 toMagType
(which isfloat
in this case):Steps to Reproduce
Trilinos_ENABLE_COMPLEX_FLOAT:BOOL=ON
.Related to
#4196
The text was updated successfully, but these errors were encountered: