From 249027388cb418974c3b992b951f1aa607b269aa Mon Sep 17 00:00:00 2001 From: Nathanael Bosch Date: Thu, 16 Nov 2023 18:40:13 +0100 Subject: [PATCH] Maybe fix the version issue this way? --- ext/DiffEqDevToolsExt.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ext/DiffEqDevToolsExt.jl b/ext/DiffEqDevToolsExt.jl index 51c8f667a..e2e91da58 100644 --- a/ext/DiffEqDevToolsExt.jl +++ b/ext/DiffEqDevToolsExt.jl @@ -18,7 +18,11 @@ function chi2(gaussian_estimate, actual_value) return convert(eltype(actual_value), Inf) end end - return diff' * (Σ \ diff) + @static if VERSION < v"1.6" + return diff' * (Matrix(Σ) \ diff) + else + return diff' * (Σ \ diff) + end end function DiffEqDevTools.appxtrue(