Skip to content

Commit 95f8162

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/include/Rcpp/hash/IndexHash.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ namespace Rcpp{
204204

205205
template <>
206206
inline double IndexHash<REALSXP>::normalize(double val) const {
207-
/* double is a bit tricky - we nave to normalize 0.0, NA and NaN */
207+
/* double is a bit tricky - we have to normalize 0.0, NA and NaN */
208208
if (val == 0.0) val = 0.0;
209209
if (internal::Rcpp_IsNA(val)) val = NA_REAL;
210210
else if (internal::Rcpp_IsNaN(val)) val = R_NaN;

0 commit comments

Comments
 (0)