Skip to content

Commit

Permalink
src: Beautify Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
lwJi committed Dec 25, 2023
1 parent 77b9f8d commit 4157dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Sync.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ function Prolongation_new(gfs, l, interp_in_time::Bool; ord_s = 3)
end

function calc_kfs_from_kcs(kcs, dtc, interp_in_time::Bool)
t0_f = (interp_in_time) ? 0.5 : 0.0
thalf_f = (interp_in_time) ? 0.75 : 0.25
t0_f = interp_in_time ? 0.5 : 0.0
thalf_f = interp_in_time ? 0.75 : 0.25
dtf = 0.5 * dtc
d1yc_t0 = DenseOutput.dy1(t0_f, dtc, kcs)
d1yc = DenseOutput.dy1(thalf_f, dtc, kcs)
Expand Down

0 comments on commit 4157dd6

Please sign in to comment.