summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/sample_selection.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/sample_selection.cc b/src/sample_selection.cc
index 7267faf..1195703 100644
--- a/src/sample_selection.cc
+++ b/src/sample_selection.cc
@@ -103,9 +103,6 @@ const Sample* SampleSelection::get(level_t level, std::size_t pos)
{
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)
{