Skip to content

Commit

Permalink
Add hack fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Apr 7, 2024
1 parent 2991f24 commit 40e51ed
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rxData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3292,6 +3292,9 @@ static inline void rxSolve_simulate(const RObject &obj,
if (!cbindPar1) {
params0 = as<Nullable<NumericVector>>(rxSolveDat->par1);
}
curObs++; // sometimes there is trailing non-observation evids
// (though this is an edge case, probably related to NA
// times; See #670)
List lst = rxSimThetaOmega(params0,
omega,
omegaDf,
Expand Down

0 comments on commit 40e51ed

Please sign in to comment.