From 50043893210d5bf28e095f36f2076b63baa662e5 Mon Sep 17 00:00:00 2001 From: GiggleLiu Date: Fri, 7 Aug 2020 23:10:42 -0400 Subject: [PATCH] rm inverse log number --- src/autodiff/vars.jl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/autodiff/vars.jl b/src/autodiff/vars.jl index 00bad3e..faf8e3c 100644 --- a/src/autodiff/vars.jl +++ b/src/autodiff/vars.jl @@ -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)))