Skip to content

Commit

Permalink
fix type parameter error with RecursiveArrayTools v3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Jan 25, 2024
1 parent e6ed4c6 commit 7c45fa7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "VoronoiFVM"
uuid = "82b139dc-5afc-11e9-35da-9b9bdfd336f3"
authors = ["Jürgen Fuhrmann <[email protected]>", "Dilara Abdel", "Jan Weidner", "Alexander Seiler", "Patricio Farrell", "Matthias Liero"]
version = "1.16.1"
version = "1.17.0"

[deps]
BandedMatrices = "aae01518-5342-5314-be14-df237901396f"
Expand Down Expand Up @@ -42,7 +42,7 @@ LinearAlgebra = "1.6"
LinearSolve = "2.2"
Printf = "1.6"
Random = "1.6"
RecursiveArrayTools = "2.14.2 - 3.4.1"
RecursiveArrayTools = "2,3"
RecursiveFactorization = "0.2.18"
SparseArrays = "1.6"
SparseDiffTools = "^1.19, 2"
Expand Down
2 changes: 1 addition & 1 deletion src/vfvm_transientsolution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ mutable struct TransientSolution{T, N, A, B} <: AbstractTransientSolution{T, N,
end

function TransientSolution(vec::AbstractVector{T}, ts, ::NTuple{N}) where {T, N}
TransientSolution{T, N, typeof(vec), typeof(ts)}(vec, ts, TransientSolverHistory())
TransientSolution{eltype(T), N, typeof(vec), typeof(ts)}(vec, ts, TransientSolverHistory())
end

TransientSolution(vec::AbstractVector, ts::AbstractVector) = TransientSolution(vec, ts, (size(vec[1])..., length(vec)))
Expand Down

0 comments on commit 7c45fa7

Please sign in to comment.