Commit 74f28014 authored by Haowen Zhang's avatar Haowen Zhang
Browse files

Fix alignment at the beginning

parent 9ec38716
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1819,6 +1819,9 @@ void Chromap<MappingRecord>::BandedTraceback(int min_num_errors, const char *pat
    num_errors_at_band_start_position = num_errors_at_band_start_position - ((VN >> i) & (uint32_t) 1);
    if (num_errors_at_band_start_position == min_num_errors) {
      *mapping_start_position = 2 * error_threshold_ - (1 + i);
      if (i + 1 == error_threshold_) {
        return;
      }
    }
  }
}