This is the error. I think you want length(c_poly)+1 here?
(You also won’t get ideal performance from this style of code, but that’s a separate issue.)
This is the error. I think you want length(c_poly)+1 here?
(You also won’t get ideal performance from this style of code, but that’s a separate issue.)