Skip to content

Commit 36327bc

Browse files
committed
typo
1 parent f8c01f3 commit 36327bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inst/include/Rcpp/traits/is_na.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ namespace traits{
4242

4343
template <>
4444
inline bool is_na<CPLXSXP>( Rcomplex x ){
45-
return Rcpp::internal::is_NA(x.r) || Rcpp::internal::is_NaN(x.i) ;
45+
return Rcpp::internal::is_NA(x.r) || Rcpp::internal::is_NA(x.i) ;
4646
}
4747

4848
template <>

0 commit comments

Comments
 (0)