Open lwhittles opened 1 year ago
https://github.com/mrc-ide/odin.dust/blob/5c06e93d5f85c7ef91b669240bad9ae805d29c68/vignettes/porting.Rmd#L152
I think this should read
K <- if (as.integer(step) >= length(K_step)) K_step[length(K_step)] else K_step[step + 1]
https://github.com/mrc-ide/odin.dust/blob/5c06e93d5f85c7ef91b669240bad9ae805d29c68/vignettes/porting.Rmd#L152
I think this should read