Registered Member
|
The following MWE shows a failure when trying to write a function that makes the product between two objects. Specifically, it fails when making a product between a matrix.ldlt().solve() return value. If one uses the decltype instead, it works. I just wanted to make sure it is a bug you guys are aware of, since I don't have a bug tracker login.
The same remark applies with the other operators ( matrix + and -, Scalar * etc.) |
Moderator
|
This is due to internal details, the object returned by solve() gets evaluated when casted to a MatrixBase<>, this make the actual return type of lhs*rhs more complicated. Fix:
|
Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]