Skip to content

Commit

Permalink
Update interpolation type parameters (#1913)
Browse files Browse the repository at this point in the history
Fixes #1910.
  • Loading branch information
SouthEndMusic authored Oct 21, 2024
1 parent 66491af commit 85ad6d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

julia_version = "1.10.5"
manifest_format = "2.0"
project_hash = "a2d1a982c3293971ae40e0a7bdfb40a85bd30ac1"
project_hash = "0257f2772e4bfed0b6316b6871c4495978c173b4"

[[deps.ADTypes]]
git-tree-sha1 = "eea5d80188827b35333801ef97a40c2ed653b081"
Expand Down Expand Up @@ -345,9 +345,9 @@ version = "1.7.0"

[[deps.DataInterpolations]]
deps = ["FindFirstFunctions", "ForwardDiff", "LinearAlgebra", "PrettyTables", "RecipesBase", "Reexport"]
git-tree-sha1 = "1e1a04e3345dee5292b0b89d1f44dd202454e319"
git-tree-sha1 = "3d81cd1fcba530122a5d6c725aa53521d869816a"
uuid = "82cc6244-b520-54b8-b5a6-8a565e85f1d0"
version = "6.4.1"
version = "6.5.2"

[deps.DataInterpolations.extensions]
DataInterpolationsChainRulesCoreExt = "ChainRulesCore"
Expand Down
2 changes: 1 addition & 1 deletion core/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ ComponentArrays = "0.13, 0.14, 0.15"
Configurations = "0.17"
DBInterface = "2.4"
DataFrames = "1.4"
DataInterpolations = "6"
DataInterpolations = "6.5"
DataStructures = "0.18"
Dates = "1"
DiffEqBase = "6.155"
Expand Down
2 changes: 2 additions & 0 deletions core/src/parameter.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ const ScalarInterpolation = LinearInterpolation{
Vector{Float64},
Vector{Float64},
Float64,
(1,),
}

set_zero!(v) = v .= zero(eltype(v))
Expand Down Expand Up @@ -343,6 +344,7 @@ end
Vector{Float64},
ScalarInterpolation,
Float64,
(1,),
},
}
level_to_area::Vector{ScalarInterpolation}
Expand Down

0 comments on commit 85ad6d3

Please sign in to comment.