We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8c01f3 commit 36327bcCopy full SHA for 36327bc
1 file changed
inst/include/Rcpp/traits/is_na.h
@@ -42,7 +42,7 @@ namespace traits{
42
43
template <>
44
inline bool is_na<CPLXSXP>( Rcomplex x ){
45
- return Rcpp::internal::is_NA(x.r) || Rcpp::internal::is_NaN(x.i) ;
+ return Rcpp::internal::is_NA(x.r) || Rcpp::internal::is_NA(x.i) ;
46
}
47
48
0 commit comments