I've implemented std::ops::Mul
for both Matrix<T> * &Matrix<T>
and &Matrix<T> * &Matrix<T>
, and in line 89 I'm adding a matrix with a reference to a matrix of the same type, so what am I doing wrong?
Missing trait bound T: Mul<Output = T>
1 Like
Thanks! Fixed.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.