search for: is_duplicated_check

Displaying 1 result from an estimated 1 matches for "is_duplicated_check".

2009 May 08
1
anyDuplicated(incomp=NA) fails
...----------------------- Index: unique.c =================================================================== --- unique.c (revision 48503) +++ unique.c (working copy) @@ -462,16 +462,18 @@ for (i = 0; i < data.M; i++) h[i] = NIL; if(from_last) for (i = n-1; i >= 0; i--) { -#define IS_DUPLICATED_CHECK - if(isDuplicated(x, i, &data)) { - Rboolean isDup = TRUE; - for(j = 0; j < m; j++) - if(data.equal(x, i, incomp, j)) { - isDup = FALSE; break; - } - if(isDup) - return ++i; - /* else continue */ +#define IS_DUPLICATED_CHECK \ + if(isDuplicated(x, i, &data))...