Skip to content
This repository has been archived by the owner on Oct 12, 2019. It is now read-only.

Commit

Permalink
Merge c38be0f into 0fbc44f
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkelly committed Oct 7, 2015
2 parents 0fbc44f + c38be0f commit 4288508
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/generate_arrays.jl
Expand Up @@ -155,7 +155,7 @@ function generate_arrays(maxSz::Integer)

bdy = mapBody(:($op(s,x)),3)
if op == :.^ # special version for MathConst{:e}
@eval $op(s::MathConst{:e},m::$Typ) = $bdy
@eval $op(s::Irrational{:e},m::$Typ) = $bdy
end
if op == :min || op == :max
@eval $op{T2<:Real}(s::T2,v::$Typ) = $bdy
Expand Down Expand Up @@ -376,7 +376,7 @@ function generate_arrays(maxSz::Integer)

bdy = mapBody(:($op(s,x)),3)
if op == :.^ # special version for MathConst{:e}
@eval $op(s::MathConst{:e},m::$Typ) = $bdy
@eval $op(s::Irrational{:e},m::$Typ) = $bdy
end
if op == :min || op == :max
@eval $op{T2<:Real}(s::T2,m::$Typ) = $bdy
Expand Down

0 comments on commit 4288508

Please sign in to comment.