From a630c52396f2fdd75e3b5f750f67b63f13536e56 Mon Sep 17 00:00:00 2001 From: Okon Samuel <39421418+OkonSamuel@users.noreply.github.com> Date: Wed, 13 Nov 2024 11:57:32 +0100 Subject: [PATCH] Update mlj_model_interface.jl --- test/mlj_model_interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/mlj_model_interface.jl b/test/mlj_model_interface.jl index 49febe1..bc74583 100644 --- a/test/mlj_model_interface.jl +++ b/test/mlj_model_interface.jl @@ -134,7 +134,7 @@ mutable struct LisasBuilder end # UndefVarError accepts two inputs from julia > v"1.9" -_UndefVarError(var, scope) = @static if VERSION <= v"1.9" +_UndefVarError(var, scope) = @static if VERSION < v"1.10" UndefVarError(var) else UndefVarError(var, scope)