Skip to content

Commit

Permalink
fix TOL(Rational)
Browse files Browse the repository at this point in the history
  • Loading branch information
schillic committed Jan 28, 2018
1 parent 98346df commit 2b03cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Approximations/Approximations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export approximate,

const TOL(N::Type{Float64}) = eps(N)
const TOL(N::Type{Float32}) = eps(N)
const TOL(N::Type{Rational{<:Any}}) = zero(N)
const TOL(N::Type{Rational{INNER}}) where {INNER} = zero(N)

const DIR_EAST(N) = [one(N), zero(N)]
const DIR_NORTH(N) = [zero(N), one(N)]
Expand Down

0 comments on commit 2b03cc7

Please sign in to comment.