Skip to content

Commit

Permalink
rm inverse log number
Browse files Browse the repository at this point in the history
  • Loading branch information
GiggleLiu committed Aug 8, 2020
1 parent d40fe16 commit 5004389
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/autodiff/vars.jl
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ end
_content(x::ULogarithmic) = x.log
for T in [:ULogarithmic]
@eval NiLang.AD.GVar(x::$T) = default_constructor($T, GVar(_content(x), zero(_content(x))))
@eval (_::Type{Inv{$T}})(x::$T) = _content(x)
#@eval NiLang.AD.grad(x::$T{<:GVar}) = default_constructor($T, grad(_content(x)))
@eval (_::Type{Inv{GVar}})(x::$T{<:GVar}) = default_constructor($T, (~GVar)(_content(x)))

Expand Down

0 comments on commit 5004389

Please sign in to comment.