Steve
2016-09-16 14:37:25 UTC
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
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