Need to define GRADE_UD for radix.h from selfsearch.c without Singeli
This commit is contained in:
parent
fa03cabc53
commit
2844520109
@ -4,6 +4,10 @@
|
||||
// These are leaky macros and assume counts are c0, c1,...
|
||||
// which must be adjacent in memory
|
||||
|
||||
#ifndef GRADE_UD
|
||||
// Search functions need this: they always sort up
|
||||
#define GRADE_UD(U,D) U
|
||||
#endif
|
||||
#define RDX_PRE(K) s##K=c##K[j]+=s##K
|
||||
#define RDX_SUM_1(T) T s0=0; for(usz j=0;j<256;j++) { RDX_PRE(0); }
|
||||
#define RDX_SUM_2(T) GRADE_UD(c1[0]=0;,) T s0=0, s1=0; for(usz j=0;j<256;j++) { RDX_PRE(0); RDX_PRE(1); }
|
||||
|
||||
Loading…
Reference in New Issue
Block a user