From 9a70fe59b076e3ef9d1ad06d1e62517a2596495b Mon Sep 17 00:00:00 2001 From: Brian Groenke Date: Sat, 30 Sep 2023 19:11:15 +0200 Subject: [PATCH] Fix errors in example scripts --- examples/09_heat_sfcc_salt_constantbc.jl | 2 +- examples/Project.toml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/09_heat_sfcc_salt_constantbc.jl b/examples/09_heat_sfcc_salt_constantbc.jl index eac2e23b..a5a8ddc3 100644 --- a/examples/09_heat_sfcc_salt_constantbc.jl +++ b/examples/09_heat_sfcc_salt_constantbc.jl @@ -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 diff --git a/examples/Project.toml b/examples/Project.toml index 4008774e..69fcee69 100644 --- a/examples/Project.toml +++ b/examples/Project.toml @@ -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"