Skip to content
This repository has been archived by the owner on Nov 8, 2022. It is now read-only.

Commit

Permalink
CGen math function matching bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ehsan Totoni committed Nov 29, 2016
1 parent b01383a commit 3a5b25d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgen-pattern-match.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ end

function pattern_match_call_math(fun::GlobalRef, input, linfo)
fun = Base.resolve(fun)
if fun.mod == Base
if fun.mod==Base || fun.mod==ParallelAccelerator.API
pattern_match_call_math(fun.name, input,linfo)
else
return ""
Expand Down

0 comments on commit 3a5b25d

Please sign in to comment.