Skip to content

Commit

Permalink
Merge pull request #452 from mimiframework/sobol
Browse files Browse the repository at this point in the history
Fix error message
  • Loading branch information
lrennels authored Apr 14, 2019
2 parents f8f4904 + 841c8c3 commit 513cb1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mcs/sobol.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function analyze(sim::SobolSimulation, model_output::AbstractArray{<:Number, N1}
end

if sim.trials == 0
error("Cannot analyze simulation with 0 trials (sim.trials == 0), either run generate_trials with a given N, or pass N to analyze function")
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")
end

payload = create_GSA_payload(sim)
Expand Down

0 comments on commit 513cb1f

Please sign in to comment.