mat: clean up lint

This commit is contained in:
Dan Kortschak
2019-11-02 14:17:29 +10:30
parent ad7fbd52c6
commit 455f782e4c
10 changed files with 93 additions and 40 deletions

View File

@@ -724,7 +724,10 @@ func TestPowPSD(t *testing.T) {
mat.SymOuterK(1, a)
var sym SymDense
sym.PowPSD(&mat, float64(pow))
err := sym.PowPSD(&mat, float64(pow))
if err != nil {
t.Errorf("unexpected error: %v", err)
}
var dense Dense
dense.Pow(&mat, pow)