diff --git a/ext/ChainRulesCoreExt.jl b/ext/ChainRulesCoreExt.jl index 335affcb..a8e752b9 100644 --- a/ext/ChainRulesCoreExt.jl +++ b/ext/ChainRulesCoreExt.jl @@ -3,7 +3,7 @@ module ChainRulesCoreExt using LogExpFunctions import ChainRulesCore -import LinearAlgebra +import LogExpFunctions.LinearAlgebra function _Ω_∂_xlogx(x::Real) logx = log(x) diff --git a/ext/ChangesOfVariablesExt.jl b/ext/ChangesOfVariablesExt.jl index bfcf9c10..e8d18204 100644 --- a/ext/ChangesOfVariablesExt.jl +++ b/ext/ChangesOfVariablesExt.jl @@ -2,7 +2,7 @@ module ChangesOfVariablesExt using LogExpFunctions import ChangesOfVariables -import IrrationalConstants +import LogExpFunctions.IrrationalConstants function ChangesOfVariables.with_logabsdet_jacobian(::typeof(log1pexp), x::Real) y = log1pexp(x)