Skip to content

Commit c9c5fcf

Browse files
committed
Conditionalize GSL dependency
1 parent 820602c commit c9c5fcf

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/RandomMatrices.jl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,8 @@ import Base.rand
88
_HAVE_GSL = try
99
using GSL
1010
true
11-
end
12-
if _HAVE_GSL
13-
using GSL
11+
catch
12+
false
1413
end
1514

1615
export bidrand, #Generate random bidiagonal matrix

0 commit comments

Comments
 (0)