Skip to content

Commit 513cb1f

Browse files
authored
Merge pull request #452 from mimiframework/sobol
Fix error message
2 parents f8f4904 + 841c8c3 commit 513cb1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mcs/sobol.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function analyze(sim::SobolSimulation, model_output::AbstractArray{<:Number, N1}
4545
end
4646

4747
if sim.trials == 0
48-
error("Cannot analyze simulation with 0 trials (sim.trials == 0), either run generate_trials with a given N, or pass N to analyze function")
48+
error("Cannot analyze simulation with 0 trials (sim.trials == 0), either run generate_trials to set N, or pass N to analyze function as a keyword argument")
4949
end
5050

5151
payload = create_GSA_payload(sim)

0 commit comments

Comments
 (0)