Skip to content

Commit

Permalink
fix adapt
Browse files Browse the repository at this point in the history
  • Loading branch information
jagoosw committed Dec 15, 2024
1 parent 96495b1 commit c49ed26
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ struct PerturbationAdvection{VT, FT}
end

Adapt.adapt_structure(to, pe::PerturbationAdvection) =
PerturbationAdvection(adapt(to, pe.outflow_timescale),
PerturbationAdvection(adapt(to, pe.backward_step),
adapt(to, pe.outflow_timescale),
adapt(to, pe.inflow_timescale))

function PerturbationAdvectionOpenBoundaryCondition(val, FT = Float64;
Expand Down

0 comments on commit c49ed26

Please sign in to comment.