Hey guys,
I am new to coding and getting some errors. I am sure it is quite simple for someone with more experience.
Thank you for your help
I am new to coding and getting some errors. I am sure it is quite simple for someone with more experience.
Thank you for your help
# create blank datasets nparam = 11; #Fill number of parameters K = zeros(npool,npool); A = zeros(npool,npool); stdev=zeros(Nt,npool); J_last= 30000000; stdev[:,1] = pusd[:,1]; for i in range (1,Nt): for j in range (2,npool): stdev(i,j) = ppsd(i,j-1); end end DJ=2*stdev.^2; #### IndentationError: unexpected indent T1P = zeros(day(Nt),npool); T1R = zeros(day(Nt),npool); T1C = zeros(day(Nt),npool); T1fR = zeros(day(Nt),npool); resp_mod1 = zeros(day(Nt),npool); params_diff = params_max-params_min; f_diff = f_max-f_min; params_op = params_init; params_new = params_init; f_op = f_init; f_new = f_init; opo_op = opo_init; opo_new = opo_init;
Gribouillis write Dec-06-2021, 11:04 AM:
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Please post all code, output and errors (it it's entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.