Closed frederic-mahe closed 3 years ago
in search16.cc, line 144:
search16.cc
#if 0 void dprofile_dump16(WORD * dprofile) { printf("\ndprofile:\n"); for(int i=0; i<32; i++) { printf("%c: ", sym_nt[i]); for(auto k=0u; k<CDEPTH; k++) { printf("["); for(auto j=0u; j<CHANNELS; j++) printf(" %3d", (short) dprofile[CHANNELS*CDEPTH*i + CHANNELS*k + j]); printf("]"); } printf("\n"); } exit(1); } #endif
should the value 32 in for(int i=0; i<32; i++) be a variable? or the product CHANNELS * CDEPTH?
for(int i=0; i<32; i++)
CHANNELS * CDEPTH
I think I am going to remove that function when I'll work on the warnings coming from the search files. Yell if you disagree :-)
search
Removed in commit 034557d725d02e8df74c132edf268c0741845af6.
in
search16.cc
, line 144:should the value 32 in
for(int i=0; i<32; i++)
be a variable? or the productCHANNELS * CDEPTH
?