We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 469f0bf commit b2d1ca8Copy full SHA for b2d1ca8
src/ensemble/ensemble_problems.jl
@@ -254,6 +254,7 @@ Constructor for `WeightedEnsembleProblem`. Ensures weights sum to 1 and matches
254
255
"""
256
function WeightedEnsembleProblem(args...; weights, kwargs...)
257
+ # TODO: allow skipping checks?
258
@assert sum(weights) ≈ 1
259
ep = EnsembleProblem(args...; kwargs...)
260
@assert length(ep.prob) == length(weights)
0 commit comments