Skip to content

Commit

Permalink
Add needed std:: prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Dec 6, 2023
1 parent 02462d2 commit fe67693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rxode2_df.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ extern "C" SEXP rxode2_df(int doDose0, int doTBS) {
/* if (j == 0) RSprintf("j: %d, %d; %f\n", j, i, get_fkeep(j, curi + i)); */
// is this ntimes = nAllTimes or nObs time for this subject...?
double curD = get_fkeep(j, curi + ind->ix[i], ind);
if (ISNA(curD) || isnan(curD)) {
if (ISNA(curD) || std::isnan(curD)) {
dfi[ii] = NA_REAL;
} else {
dfi[ii] = (int) (curD);
Expand Down

0 comments on commit fe67693

Please sign in to comment.