Skip to content

Commit 2a58e2a

Browse files
committed
Fix example
1 parent 6a8a4a1 commit 2a58e2a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ protected:
100100
}
101101
102102
void complete() {
103-
Rprintf("Result is %d", result);
103+
Rprintf("Result is %f\n", result);
104104
}
105105
106106
private:

vignettes/later-cpp.Rmd

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ protected:
9191
}
9292
9393
void complete() {
94-
Rprintf("Result is %d", result);
94+
Rprintf("Result is %f\n", result);
9595
}
9696
9797
private:

0 commit comments

Comments
 (0)