diff --git a/src/lower-level/resmerge-ll.c b/src/lower-level/resmerge-ll.c index b533ae73..6f9f8896 100755 --- a/src/lower-level/resmerge-ll.c +++ b/src/lower-level/resmerge-ll.c @@ -216,12 +216,6 @@ short **toa_ = NULL; } - #ifdef FORCE_DEBUG - set_brick_filename(TOA, "TOA-RESMERGED"); - print_brick_info(TOA); set_brick_open(TOA, OPEN_CREATE); write_brick(TOA); - #endif - - /** clean +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++**/ gsl_matrix_free (X); gsl_vector_free (x); @@ -234,6 +228,11 @@ short **toa_ = NULL; } + #ifdef FORCE_DEBUG + set_brick_filename(TOA, "TOA-RESMERGED"); + print_brick_info(TOA); set_brick_open(TOA, OPEN_CREATE); write_brick(TOA); + #endif + #ifdef FORCE_CLOCK proctime_print("Resolution merge", TIME); #endif