Skip to content

Commit a90b221

Browse files
committed
Check for 0.4, otherwise install SpecialFunctions
1 parent 91b7feb commit a90b221

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

test/DualTest.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ using ForwardDiff: Partials, Dual, value, partials
66

77
import NaNMath
88
import Calculus
9-
importall SpecialFunctions
9+
10+
if VERSION >= v"0.6.0-dev.2767"
11+
Pkg.installed("SpecialFunctions") === nothing && Pkg.add("SpecialFunctions")
12+
importall SpecialFunctions
13+
end
1014

1115
samerng() = MersenneTwister(1)
1216

test/REQUIRE

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)