Skip to content

Commit

Permalink
Fix bug in reporting cCTSTMs
Browse files Browse the repository at this point in the history
  • Loading branch information
mclements committed Jul 30, 2024
1 parent 4a23346 commit 0421d70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cohort-ctstm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ Rcpp::List C_cohort_ctstm_sim(Rcpp::Environment R_CtstmTrans,
arma::mat report(n_times,p0.size());
report.row(0) = p0.t();
auto stepper = make_dense_output(rel_tol, abs_tol, runge_kutta_dopri5<state_type>());
int j_counter=0;
int j_counter=1;
for (size_t j=1; j<n_full_times; j++) {
// special case: point mass
for (int trans_ = 0; trans_ < n_trans; ++trans_) {
Expand Down

0 comments on commit 0421d70

Please sign in to comment.