Thanks Glen and Steve for spotting this unused code. I have #ifdef-ed out the currently unused code. I'd like to keep it in there, although unused at present. The algorithm is described in chapter 4 (I think) of my thesis if anyone is interested in how it works.
Guys - in future a patch would be much appreciated rather than written instructions - makes it much easier from my side. Thanks, David On 17/09/16 00:07, Steve wrote: > eric, > > if you add: > > #ifdef POST_PROCESS_MBE > > just before: > > float post_process_mbe(COMP Fw[], int pmin, int pmax, float gmax, COMP > Sw[], float W[], float *prev_Wo) > > and then add: > > #endif > > at the bottom of the file nlp.c (after test_candidate_mbe() function) > then the code will > be commented out as it should. > > This caused me some troubleshooting fun myself, working on code that > isn't even used. > > Oh, also at the top, change it to: > > #ifdef POST_PROCESS_MBE > float test_candidate_mbe(COMP Sw[], float W[], float f0); > float post_process_mbe(COMP Fw[], int pmin, int pmax, float gmax, COMP > Sw[], float W[], float *prev_Wo); > #endif > > Just before nlp_create() > > 73/steve > > > > ------------------------------------------------------------------------------ > > > > _______________________________________________ > Freetel-codec2 mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/freetel-codec2 > ------------------------------------------------------------------------------ _______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
