Skip to content

Commit 55da4da

Browse files
author
oscarddssmith
committed
typos
1 parent be8a1c6 commit 55da4da

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ensemble/ensemble_solutions.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ function EnsembleSolution(sim::T, elapsedTime,
4646
converged)
4747
end
4848

49-
struct WeightedEnsembleSolution{T1<:AbstractEnsembleSolution, T2<:Number} <:
49+
struct WeightedEnsembleSolution{T1<:AbstractEnsembleSolution, T2<:Number}
5050
ensol::T1
51-
weights::Vector{T2})
51+
weights::Vector{T2}
5252
function WeightedEnsembleSolution(ensol, weights)
5353
@assert length(weights) == length(ensol)
54-
new(ensol, weights)
54+
new{typeof(ensol), eltype(weights)}(ensol, weights)
5555
end
5656
end
5757

0 commit comments

Comments
 (0)