13
0

Ifdef out some debugging-related code.

This commit is contained in:
nick_m 2016-05-28 04:37:52 +10:00
parent 5d3467d768
commit 3e6c80bbc0

View File

@ -2050,11 +2050,15 @@ TempoMap::solve_map_frame (Metrics& imaginary, TempoSection* section, const fram
}
}
#if (0)
recompute_tempos (imaginary);
if (check_solved (imaginary)) {
return true;
} else {
dunp (imaginary, std::cout);
}
#endif
MetricSectionFrameSorter fcmp;
imaginary.sort (fcmp);
@ -2111,11 +2115,15 @@ TempoMap::solve_map_pulse (Metrics& imaginary, TempoSection* section, const doub
section->set_frame (section_prev->frame_at_pulse (pulse, _frame_rate));
}
#if (0)
recompute_tempos (imaginary);
if (check_solved (imaginary)) {
return true;
} else {
dunp (imaginary, std::cout);
}
#endif
MetricSectionSorter cmp;
imaginary.sort (cmp);