Skip to content

Commit d4f0c20

Browse files
tkelmanlbenet
authored andcommitted
use isdefined for iszero instead of VERSION check (#109)
* use isdefined for iszero instead of VERSION check * only need Compat 0.17 for abstract type
1 parent 2c2d0a1 commit d4f0c20

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
julia 0.5
2-
Compat 0.19.0
2+
Compat 0.17.0

src/TaylorSeries.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module TaylorSeries
2020

2121
using Compat
2222

23-
if VERSION v"0.6.0-dev"
23+
if !isdefined(Base, :iszero)
2424
import Compat: iszero
2525
export iszero
2626
else

0 commit comments

Comments
 (0)