Skip to content

Commit c57ee8e

Browse files
committed
Add issue#117 test
1 parent 2772d76 commit c57ee8e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

test/IterativeSolvers.jld

30.5 KB
Binary file not shown.

test/lsqr.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ using IterativeSolvers
22
using FactCheck
33
using Base.Test
44
using LinearMaps
5+
using JLD
56

67
facts("lsqr") do
78

@@ -85,6 +86,12 @@ context("Issue 64") do
8586
@fact resnorm --> less_than(eps())
8687
@fact ch.isconverged --> true
8788
@fact last(ch[:resnorm]) --> roughly(resnorm, atol=eps())
89+
90+
# Issue 117
91+
fname = "IterativeSolvers.jld"
92+
C = load(fname, "A")
93+
b = load(fname, "b")
94+
@fact isnan(sum(lsqr( C, b ))) --> false
8895
end
8996

9097
end

0 commit comments

Comments
 (0)