Skip to content
Snippets Groups Projects

Define variables through new @defvar macro

Merged Michiel Cottaar requested to merge new_variables into main
2 files
+ 17
25
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -222,7 +222,7 @@ function dwi_gradients(; type=:trapezoid, optimise=false, scanner=nothing, refoc
end
for var_func in match
if var_func isa Symbol
var_func = variables[var_func]
var_func = getproperty(variables, var_func)
end
apply_simple_constraint!(var_func(g1), var_func(g2))
end
Loading