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 c4581df commit 0cb7ebcCopy full SHA for 0cb7ebc
inst/include/Rcpp/hash/SelfHash.h
@@ -99,7 +99,7 @@ namespace sugar{
99
100
template <>
101
inline double SelfHash<REALSXP>::normalize(double val) const {
102
- /* double is a bit tricky - we nave to normalize 0.0, NA and NaN */
+ /* double is a bit tricky - we have to normalize 0.0, NA and NaN */
103
if (val == 0.0) val = 0.0;
104
if (internal::Rcpp_IsNA(val)) val = NA_REAL;
105
else if (internal::Rcpp_IsNaN(val)) val = R_NaN;
0 commit comments