tomstewart89 / BasicLinearAlgebra

A library for using matrices and linear algebra on Arduino
MIT License
187 stars 38 forks source link

Missing const qualifier on unary operator- #21

Closed VorpalBlade closed 5 years ago

VorpalBlade commented 5 years ago

Matrix<rows,cols,Array<rows,cols,typename MemT::elem_t> > operator-() should have a const qualifier, currently you cannot use the negation operator on a const matrix (or on a temporary).

VorpalBlade commented 5 years ago

In addition the Inverse() and Det() functions should also have const qualifiers, for the same reason