Skip to content

Commit

Permalink
had forgotten rtb in \!dIdt
Browse files Browse the repository at this point in the history
  • Loading branch information
a2ray committed Sep 5, 2024
1 parent e9edb55 commit d6e2939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AEM_VMD_HMD.jl
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ function convramp!(F::HFieldDHT, splz::CubicSpline, splr::CubicSpline, splaz::Cu
end
for itime = 1:length(F.times)
for iramp = 1:nramps-1
if F.rampchoice != :mid
if (F.rampchoice != :mid) || (!F.isdIdt)
rta, rtb = F.ramp[iramp,1], F.ramp[iramp+1,1]
end
# end
Expand Down

0 comments on commit d6e2939

Please sign in to comment.