Skip to content

Commit 5dd14c0

Browse files
committed
remove try-catch
1 parent 605c2e6 commit 5dd14c0

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

test/tridiag.jl

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -383,15 +383,7 @@ end
383383
w, iblock, isplit = LAPACK.stebz!('V', 'B', -infinity, infinity, 0, 0, zero, b, a)
384384
evecs = LAPACK.stein!(b, a, w)
385385

386-
try
387-
(e, v) = eigen(SymTridiagonal(b, a))
388-
catch ex
389-
if isa(ex, ReadOnlyMemoryError)
390-
@info "rom error" evecs b a w
391-
else
392-
rethrow(ex)
393-
end
394-
end
386+
(e, v) = eigen(SymTridiagonal(b, a))
395387
@test e w
396388
test_approx_eq_vecs(v, evecs)
397389
end

0 commit comments

Comments
 (0)