Skip to content

Commit

Permalink
Fix errors in example scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroenks96 committed Sep 30, 2023
1 parent a7b9451 commit 9a70fe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/09_heat_sfcc_salt_constantbc.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ tspan = (DateTime(1990,1,1),DateTime(2000,12,31))
u0, du0 = initialcondition!(tile, tspan)
prob = CryoGridProblem(tile, u0, tspan, saveat=24*3600.0, savevars=(:T,:θw,:k,:dₛ))
@info "Running model"
integrator = init(prob, CGEuler(), dt=60.0, progress=true);
integrator = init(prob, CGEuler(), dt=60.0);
@time step!(integrator, 24*3600)
## Run to end of time span.
@time for i in integrator end
Expand Down
1 change: 1 addition & 0 deletions examples/Project.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[deps]
CryoGrid = "a535b82e-5f3d-4d97-8b0b-d6483f5bebd5"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
FreezeCurves = "71e4ad71-e4f2-45a3-aa0a-91ffaa9676be"
NonlinearSolve = "8913a72c-1f9b-4ce2-8d82-65094dcecaec"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
Expand Down

0 comments on commit 9a70fe5

Please sign in to comment.