| 27 | |
| 28 | template <bool NA> struct negate{ |
| 29 | static inline int apply( int x ){ |
| 30 | return Rcpp::traits::is_na<LGLSXP>( x ) ? x : |
| 31 | ( x ? FALSE : TRUE ) ; |
| 32 | } |
| 33 | } ; |
| 34 | template<> struct negate<false>{ |
| 35 | static inline int apply( int x){ |
nothing calls this directly
no test coverage detected