Skip to content

Commit

Permalink
Update ESMLBase to v0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
ctessum committed Aug 11, 2024
1 parent ac5cabb commit 350514f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "EnvironmentalTransport"
uuid = "9e73f4c4-d7e8-4c78-8a11-cd2430746631"
authors = ["EarthSciML authors and contributors"]
version = "0.1.1"
version = "0.1.2"

[deps]
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
Expand All @@ -17,7 +17,7 @@ SciMLOperators = "c0aeaf25-5076-4817-a8d5-81caf7dfa961"
DocStringExtensions = "0.9"
DomainSets = "0.5, 0.6"
EarthSciData = "0.7"
EarthSciMLBase = "0.14"
EarthSciMLBase = "0.14, 0.15"
ModelingToolkit = "8"
OrdinaryDiffEq = "6"
SciMLBase = "2"
Expand Down
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Distributions = "0.25"
Documenter = "1"
DomainSets = "0.5, 0.6, 0.7"
EarthSciData = "0.7"
EarthSciMLBase = "0.14"
EarthSciMLBase = "0.14, 0.15"
ModelingToolkit = "8"
NCDatasets = "0.13, 0.14"
Plots = "1"
2 changes: 1 addition & 1 deletion src/advection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ ODESystem that should be used to get the wind velocity values.
`p` is an optional parameter set that can be passed to the stencil function.
"""
function simulator_advection_1d(
sim::EarthSciMLBase.Simulator, op, varname; p=NullParameters())
sim::EarthSciMLBase.Simulator, op::AdvectionOperator, varname; p=NullParameters())
pvaridx = findfirst( # Get the index of the variable in the domaininfo
isequal(varname), String.(Symbol.(EarthSciMLBase.pvars(sim.domaininfo))))

Expand Down

0 comments on commit 350514f

Please sign in to comment.