Closed rafelafrance closed 3 years ago
roleSimPlay etc. need a guard against there being only one item in the return value. If B <- floor(nstep / nout) yields 1 then the loop is failing because it's iterating backwards.
B <- floor(nstep / nout)
1
hopefully fixed with https://github.com/role-model/roleR/commit/3382a18c47749c87a5d15840911a7f43a3b85bf1
roleSimPlay etc. need a guard against there being only one item in the return value. If
B <- floor(nstep / nout)
yields1
then the loop is failing because it's iterating backwards.