diff options
author | Volker Fischer <corrados@users.noreply.github.com> | 2021-05-22 10:01:21 +0200 |
---|---|---|
committer | Volker Fischer <corrados@users.noreply.github.com> | 2021-05-22 10:01:21 +0200 |
commit | 0711d0f5aef38ee60653d52ca2f04c8d7051b1e6 (patch) | |
tree | c57f3c4e4388772a874fe3b8313ed69429944a39 /src | |
parent | 5be222dee61dc8b28a429d93c39a2500a28de759 (diff) | |
parent | 0fcb75e864ff8ed42622249dfdd7af9abfda033d (diff) |
Merge remote-tracking branch 'origin/two_samples_bug_fix' into edrumulus
Diffstat (limited to 'src')
-rw-r--r-- | src/sample_selection.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sample_selection.cc b/src/sample_selection.cc index 0ff2c51..06e97c9 100644 --- a/src/sample_selection.cc +++ b/src/sample_selection.cc @@ -108,9 +108,6 @@ const Sample* SampleSelection::get(level_t level, float position, std::size_t po { DEBUG(rand, "%d %d", (int)up_index, (int)down_index); - // at least avoid infinite loops in case of a bug... - if (up_index == samples.size()-1 && down_index == 0) { break; } - std::size_t current_index; if (up_value_lb < down_value_lb) { |