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

Commit 34e859a

Browse files
committed
Loosen tolerance
1 parent f3b6116 commit 34e859a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testlapack/dtrtri.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,12 @@ func DtrtriTest(t *testing.T, impl Dtrtrier) {
6767
for i := 0; i < n; i++ {
6868
for j := 0; j < n; j++ {
6969
if i == j {
70-
if math.Abs(ans[i*lda+i]-1) > 1e-8 {
70+
if math.Abs(ans[i*lda+i]-1) > 1e-6 {
7171
iseye = false
7272
break
7373
}
7474
} else {
75-
if math.Abs(ans[i*lda+j]) > 1e-8 {
75+
if math.Abs(ans[i*lda+j]) > 1e-6 {
7676
iseye = false
7777
break
7878
}

0 commit comments

Comments
 (0)