The mem_prv_observ argument takes a boolean value, but it is unclear to me why we would ever need this value to be TRUE. Should it not always be TRUE when using the trajectory method of prediction?
Additionally, there is an error in the code on this line, which reads:
FALSE is equivalent to 0 in R, but not C, so I will change this to 0. and push a new version.