From 19f4db45012ebd9e513979c18d042039f7e99a4c Mon Sep 17 00:00:00 2001 From: Kristoffer Date: Sun, 5 Feb 2023 19:30:18 +0100 Subject: [PATCH] tweak how some packages are loaded in extensions --- ext/ChainRulesCoreExt.jl | 2 +- ext/ChangesOfVariablesExt.jl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)