diff --git a/src/cohort-ctstm.cpp b/src/cohort-ctstm.cpp index 3ec00b30..731b5cf4 100644 --- a/src/cohort-ctstm.cpp +++ b/src/cohort-ctstm.cpp @@ -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()); - int j_counter=0; + int j_counter=1; for (size_t j=1; j