Skip to content

Commit 0cb7ebc

Browse files
Enchufa2Copilot
andauthored
Fix typo
Co-authored-by: Copilot <[email protected]>
1 parent c4581df commit 0cb7ebc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/hash/SelfHash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ namespace sugar{
9999

100100
template <>
101101
inline double SelfHash<REALSXP>::normalize(double val) const {
102-
/* double is a bit tricky - we nave to normalize 0.0, NA and NaN */
102+
/* double is a bit tricky - we have to normalize 0.0, NA and NaN */
103103
if (val == 0.0) val = 0.0;
104104
if (internal::Rcpp_IsNA(val)) val = NA_REAL;
105105
else if (internal::Rcpp_IsNaN(val)) val = R_NaN;

0 commit comments

Comments
 (0)