Skip to content

Commit

Permalink
Fix doc parsing error in param ensemble example
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroenks96 committed Dec 9, 2024
1 parent d8687d6 commit df0cab5
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions examples/cglite_parameter_ensembles.jl
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ function make_prob_func(ensmeble::AbstractMatrix)
end

function output_func(sol, i)
# return CryoGridOutput; false indicates that the run does not need to be repeated
## return output and repeat signal;
## false indicates that the run does not need to be repeated
return CryoGridOutput(sol), false
end

Expand Down Expand Up @@ -105,8 +106,8 @@ using ProgressMeter

@showprogress for i in axes(prior_ensemble)[2]
p_i = prior_ensemble[:,i]
# solve with parameters p_i
## solve with parameters p_i
sol_i = solve(prob, LiteImplicitEuler(), p=p_i)
# here we would need to process the output and store the results;
# omitted in this example for brevity
## here we would need to process the output and store the results;
## omitted in this example for brevity
end

0 comments on commit df0cab5

Please sign in to comment.