Ifpack2::Chebyshev: "chebyshev: boost factor" should be same type as magnitude of Scalar
Created by: mhoemmen
@trilinos/ifpack2 @jhux2
I'm going to be "that guy" and point out a tiny issue with commit 0c051216, namely that Ifpack2::Details::Chebyshev should accept the new "chebyshev: boost factor" parameter either as Teuchos::ScalarTraits<Scalar>::magnitudeType
, or as double
. For example, if Scalar = float
, users might reasonably expect to pass this in as float
. However, in that case, the ParameterList would reject the parameter request, because the second argument of get() (the default value of the parameter) needs to have the same type as the stored value.