Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/pitch/pitchmcomb.c

    r9ee1ee9 r5b41ef9  
    336336  uint_t run = 0;
    337337  for (cur = 0; cur < nbins; cur++) {
    338     for (run = cur + 1; run < nbins; run++) {
     338    run = cur + 1;
     339    for (run = cur; run < nbins; run++) {
    339340      if (candidates[run]->ene > candidates[cur]->ene)
    340341        CAND_SWAP (candidates[run], candidates[cur]);
     
    351352  uint_t run = 0;
    352353  for (cur = 0; cur < nbins; cur++) {
    353     for (run = cur + 1; run < nbins; run++) {
     354    run = cur + 1;
     355    for (run = cur; run < nbins; run++) {
    354356      if (candidates[run]->ebin < candidates[cur]->ebin)
    355357        CAND_SWAP (candidates[run], candidates[cur]);
Note: See TracChangeset for help on using the changeset viewer.