Skip to content

Commit

Permalink
Check for 0.4, otherwise install SpecialFunctions
Browse files Browse the repository at this point in the history
  • Loading branch information
ararslan committed Feb 12, 2017
1 parent 91b7feb commit a90b221
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion test/DualTest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ using ForwardDiff: Partials, Dual, value, partials

import NaNMath
import Calculus
importall SpecialFunctions

if VERSION >= v"0.6.0-dev.2767"
Pkg.installed("SpecialFunctions") === nothing && Pkg.add("SpecialFunctions")
importall SpecialFunctions
end

samerng() = MersenneTwister(1)

Expand Down
1 change: 0 additions & 1 deletion test/REQUIRE

This file was deleted.

0 comments on commit a90b221

Please sign in to comment.