JuliaDiff / DiffRules.jl

A simple shared suite of common derivative definitions
Other
75 stars 38 forks source link

can't define new diffrule with a module path #7

Closed tpapp closed 6 years ago

tpapp commented 6 years ago

I tried to fix https://github.com/JuliaDiff/ForwardDiff.jl/issues/261 with

@define_diffrule Base.Math.JuliaLibm.log1p(x) = :(inv($x + 1))

but for some reason the macro does not work, can you please take a look at it?