gonum / matrix

Matrix packages for the Go language [DEPRECATED]

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mat64: Exp does not check caps

kortschak opened this issue · comments

Exp has it's own reuseAs because it needs to zero elements and initialise the matrix to I. The caps check was added to reuseAs, and not there as well. Either reuseAsZeroed should be made with the check (and placed near reuseAs) or the checks should be added in Exp.

Fixed via #371.