From a0f1fef35f17f81955388de5306bad7d40c76559 Mon Sep 17 00:00:00 2001
From: Michiel Cottaar <michiel.cottaar@ndcn.ox.ac.uk>
Date: Wed, 14 Feb 2024 17:30:58 +0000
Subject: [PATCH] Make InstantGradient a component

---
 src/components/instant_gradients.jl | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/instant_gradients.jl b/src/components/instant_gradients.jl
index cc2801c..7c71246 100644
--- a/src/components/instant_gradients.jl
+++ b/src/components/instant_gradients.jl
@@ -26,7 +26,7 @@ To have a variable `orientation`, see [`InstantGradient3D`](@ref).
 - [`qval`](@ref): Spatial frequency on which spins will be dephased due to this pulsed gradient in rad/um.
 - [`spoiler_scale`](@ref): Length-scale on which spins will be dephased by exactly 2Ï€ in mm.
 """
-struct InstantGradient1D <: GradientBlock
+struct InstantGradient1D <: InstantGradient
     qval :: VariableType
     orientation :: SVector{3, Number}
     group :: Union{Nothing, Symbol}
@@ -57,7 +57,7 @@ To have a fixed `orientation`, see [`InstantGradient1D`](@ref).
 - [`qval`](@ref): Norm of spatial frequency on which spins will be dephased due to this pulsed gradient in rad/um.
 - [`spoiler_scale`](@ref): Vector with length-scale on which spins will be dephased by exactly 2Ï€ in mm.
 """
-struct InstantGradient3D <: GradientBlock
+struct InstantGradient3D <: InstantGradient
     qvec :: SVector{3, VariableType}
     group :: Union{Nothing, Symbol}
 end
-- 
GitLab