matrix/mat64: remove redundant return statements
MODIFY
matrix/mat64/mul_test.go
matrix/mat64/mul_test.go
@@ -197,7 +197,6 @@ func testMul(t *testing.T, a, b Matrix, c *Dense, acomp, bcomp, ccomp matComp, c
if !denseEqual(c, ccomp) {
t.Errorf("mul answer not equal for %v", name)
}
- return
}
type basicMatrix Dense

MODIFY
matrix/mat64/symmetric.go
matrix/mat64/symmetric.go
@@ -335,7 +335,6 @@ func (s *SymDense) RankTwo(a Symmetric, alpha float64, x, y *Vector) {
}
blas64.Syr2(alpha, x.mat, y.mat, w.mat)
*s = w
- return
}
// ScaleSym multiplies the elements of a by f, placing the result in the receiver.

matrix/mat64: remove redundant return statements