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

Commit

Permalink
testlapack: fix DorghrTest
Browse files Browse the repository at this point in the history
Simply remove the checking of NaNs after the matrix because everywhere in the
tests we allocate tight slices.
  • Loading branch information
vladimir-ch committed Jun 15, 2016
1 parent 04e1e22 commit 617823c
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions testlapack/general.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,6 @@ func generalOutsideAllNaN(a blas64.General) bool {
}
}
}
// Check after last element.
for _, v := range a.Data[(a.Rows-1)*a.Stride+a.Cols:] {
if !math.IsNaN(v) {
return false
}
}
return true
}

Expand Down

0 comments on commit 617823c

Please sign in to comment.