Skip to content
Snippets Groups Projects
Verified Commit 8264de81 authored by Michiel Cottaar's avatar Michiel Cottaar
Browse files

Take gradient action if spins are transverse, not longitudinal

parent 9794f628
No related branches found
No related tags found
No related merge requests found
......@@ -419,7 +419,7 @@ The following steps will be taken:
This requires [`bmat`](@ref) and [`qvec`](@ref) to be implemented for the [`GradientBlock`](@ref).
"""
function update_walker_gradient!(gradient::GradientBlock, walker::PathwayWalker, gradient_start_time::VariableType)
if walker.is_transverse
if !walker.is_transverse
return
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment