Skip to content

Commit a5067af

Browse files
authored
Remove iszero type piracy (ApproxFun.jl #51)
1 parent 6637707 commit a5067af

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Fun.jl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,6 @@ isapprox(g::Number, f::Fun) = g*ones(space(f)) ≈ f
503503
isreal(f::Fun{<:RealSpace,<:Real}) = true
504504
isreal(f::Fun) = false
505505

506-
iszero(x::Number) = x == 0
507506
iszero(f::Fun) = all(iszero,f.coefficients)
508507

509508

0 commit comments

Comments
 (0)