Pressio / pressio

core C++ library
Other
45 stars 7 forks source link

ops: fill() review #441

Closed mzuzek closed 1 year ago

mzuzek commented 1 year ago

refs #436

fnrizzi commented 1 year ago
mzuzek commented 1 year ago

@fnrizzi

did you check if Eigen setConstant and trilinos PutScalar accept a scalar value that is NOT convertible to the scalar type of the vector or matrix?

Value type must be convertible to container's scalar type - here's the breakdown by TPL:

Note: these observations are based on Trilinos@ef73d14babf6e7556b0420add98cce257ccaa56b (Pressio's dependency, see here) and may NOT apply to recent versions.

mzuzek commented 1 year ago

@fnrizzi

do the tests already cover non trivial cases ?

Not sure, but I'll be happy to add any reasonable cases you may have on your mind.