summaryrefslogtreecommitdiff
path: root/src/sample_selection.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/sample_selection.cc')
-rw-r--r--src/sample_selection.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sample_selection.cc b/src/sample_selection.cc
index f991e4b..6fe4b63 100644
--- a/src/sample_selection.cc
+++ b/src/sample_selection.cc
@@ -70,7 +70,8 @@ const Sample* SampleSelection::get(level_t level, std::size_t pos)
float close_opt = 0.;
float diverse_opt = 0.;
- const float f_close = settings.sample_selection_f_close.load();
+ // Note the magic value of "4" in front of f_close
+ const float f_close = 4.*settings.sample_selection_f_close.load();
const float f_diverse = settings.sample_selection_f_diverse.load();
const float f_random = settings.sample_selection_f_random.load();