We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cefedb7 commit 687a4a6Copy full SHA for 687a4a6
ChangeLog
@@ -1,3 +1,7 @@
1
+2020-04-15 Uwe Korn <mail@uwekorn.com>
2
+
3
+ * inst/include/Rcpp/DataFrame.h: Explicit call to scalar std::abs
4
5
2020-04-11 Dirk Eddelbuettel <edd@debian.org>
6
7
* DESCRIPTION (Version, Date): Roll minor version
inst/include/Rcpp/DataFrame.h
@@ -79,7 +79,7 @@ namespace Rcpp{
79
if (Rf_isNull(rn))
80
return 0;
81
if (TYPEOF(rn) == INTSXP && LENGTH(rn) == 2 && INTEGER(rn)[0] == NA_INTEGER)
82
- return abs(INTEGER(rn)[1]);
+ return std::abs(INTEGER(rn)[1]);
83
return LENGTH(rn);
84
}
85
0 commit comments