From 3b3c4de585d92bbe5729984d3ed28b6fad763ba9 Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> Date: Thu, 15 Feb 2024 16:50:04 +0000 Subject: [PATCH] Use correct tuple constructor --- src/variables.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/variables.jl b/src/variables.jl index 5d38b80..8242893 100644 --- a/src/variables.jl +++ b/src/variables.jl @@ -239,7 +239,7 @@ for (target_name, all_vars) in all_variables_symbols end throw(VariableNotAvailable(typeof(bb), Variables.$variable_func)) catch e - if $use_get_func && e isa VariableNotAvailable && hasmethod($get_func, Tuple(typeof(bb))) + if $use_get_func && e isa VariableNotAvailable && hasmethod($get_func, tuple(typeof(bb))) return Variables.$variable_func($get_func(bb)) end rethrow() -- GitLab