From 504cab351189405bdd2efaba7fbc414c2bbb4b97 Mon Sep 17 00:00:00 2001 From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk> Date: Sun, 28 Jan 2024 21:18:29 +0000 Subject: [PATCH] Use new signature --- src/gradients/instant_gradients.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gradients/instant_gradients.jl b/src/gradients/instant_gradients.jl index bb23766..df8af2e 100644 --- a/src/gradients/instant_gradients.jl +++ b/src/gradients/instant_gradients.jl @@ -75,7 +75,7 @@ duration(instant::InstantGradientBlock) = 0. variables(::Type{<:InstantGradientBlock}) = [qvec, qval] function fixed(block::InstantGradientBlock) - return FixedInstantGradient(block.orientation, value(qval(block))) + return FixedInstantGradient(qvec(block), block.rotate, block.scale) end -- GitLab