Open waternumbers opened 2 years ago
In v0.2.2 returned states (unless altered) reference the memory of the states in the R6 object. This means that
dt <- dynatop$new(mdl)$add_data(obs)$initialise() s <- dt$get_states() sa <- s+0 dt$sim() f <- dt$get_states() all(s==f) ## TRUE all(sa==f) ## FALSE
In v0.2.2 returned states (unless altered) reference the memory of the states in the R6 object. This means that