Skip to content
Discussion options

You must be logged in to vote

Hi @DarioSlaifsteinSk,

When using set_start_value_function, you need to directly pass the Julia function in question, not a parameter function. So in this case you should write something like:

for w  1:Nw
   set_start_value_function(Ppv[w], t -> 5 * pvData[zero_order_time_index(Dt,t), w])
end

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@DarioSlaifsteinSk
Comment options

Answer selected by DarioSlaifsteinSk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants