Fixing a bug where 'nid2' integer vector was accessed with k=-1. By pure luck nid[-1] currently gives 0, instead of garbage value. (I'm recreating the pull request, beacuse I polluted the previous one).
Additional info:
k=-1 case is triggered for example in multi2.R test when evaluating tdata
Fixing a bug where 'nid2' integer vector was accessed with k=-1. By pure luck nid[-1] currently gives 0, instead of garbage value. (I'm recreating the pull request, beacuse I polluted the previous one).
Additional info:
k=-1
case is triggered for example inmulti2.R
test when evaluatingtdata
After applying
if (k > 0)
fix all survival tests passed successfully.