Skip to content

Commit

Permalink
use in-place
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Jun 16, 2024
1 parent e522b1a commit 01d3ccc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function batch_iceflow_UDE(θ, simulation::FunctionalInversion, batch_id::I) whe
cb_MB = DiscreteCallback(stop_condition, action!)

# Run iceflow UDE for this glacier
du = params.simulation.use_iceflow ? Huginn.SIA2D : Huginn.noSIA2D
du = params.simulation.use_iceflow ? Huginn.SIA2D! : Huginn.noSIA2D!
iceflow_sol = simulate_iceflow_UDE!(θ, simulation, model, params, cb_MB, batch_id; du = du)

println("simulation finished for $batch_id")
Expand Down

0 comments on commit 01d3ccc

Please sign in to comment.