diff --git a/DESCRIPTION b/DESCRIPTION index fccf83183..5b68bcffc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,5 +1,5 @@ Package: rxode2 -Version: 3.0.1.9000 +Version: 3.0.2 Title: Facilities for Simulating from ODE-Based Models Authors@R: c( person("Matthew L.","Fidler", role = c("aut", "cre"), email = "matthew.fidler@gmail.com", comment=c(ORCID="0000-0001-8538-6691")), diff --git a/NEWS.md b/NEWS.md index db4e73ff9..faddb7c0a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,7 @@ -# rxode2 (development version) +# rxode2 3.0.2 + +- Bug fix for `api`, the censoring function pointer has been updated + (#801). - Query `rxode2.verbose.pipe` at run time instead of requiring it to be set before loading `rxode2`. diff --git a/src/init.c b/src/init.c index e209c8415..c73dc2c3f 100644 --- a/src/init.c +++ b/src/init.c @@ -402,7 +402,7 @@ SEXP _rxode2_rxode2Ptr(void) { SEXP rxode2getIndDv = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndDv, R_NilValue, R_NilValue)); pro++; SEXP rxode2getIndYj = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndYj, R_NilValue, R_NilValue)); pro++; SEXP rxode2getIndLimit = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndLimit, R_NilValue, R_NilValue)); pro++; - SEXP rxode2getIndCens = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndLimit, R_NilValue, R_NilValue)); pro++; + SEXP rxode2getIndCens = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndCens, R_NilValue, R_NilValue)); pro++; SEXP rxode2getIndIdx = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getIndIdx, R_NilValue, R_NilValue)); pro++; SEXP rxode2getOpNeq = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&getOpNeq, R_NilValue, R_NilValue)); pro++; SEXP rxode2setOpNeq = PROTECT(R_MakeExternalPtrFn((DL_FUNC)&setOpNeq, R_NilValue, R_NilValue)); pro++;