Skip to content
This repository has been archived by the owner on Dec 10, 2018. It is now read-only.

Commit

Permalink
Remove receiver zeroing in Pow test
Browse files Browse the repository at this point in the history
blas/native now has the same behaviour as blas/cgo wrt beta == 0 and
there are NaN elements, so we don't need to pre-zero where there are
NaNs in the matrix.
  • Loading branch information
kortschak committed Jan 15, 2015
1 parent 41e0763 commit b520df3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mat64/dense_test.go
Expand Up @@ -792,9 +792,6 @@ func (s *S) TestPow(c *check.C) {
d[i] = math.NaN()
}
*a = *NewDense(10, 10, d).View(1, 1, 3, 3).(*Dense)
for i := 0; i < a.mat.Rows; i++ {
zero(a.mat.Data[i*a.mat.Stride : i*a.mat.Stride+a.mat.Cols])
}
},
},
{
Expand All @@ -812,9 +809,6 @@ func (s *S) TestPow(c *check.C) {
d[i] = math.NaN()
}
*a = *NewDense(10, 10, d).View(1, 1, 3, 3).(*Dense)
for i := 0; i < a.mat.Rows; i++ {
zero(a.mat.Data[i*a.mat.Stride : i*a.mat.Stride+a.mat.Cols])
}
},
},
} {
Expand Down

0 comments on commit b520df3

Please sign in to comment.