summaryrefslogtreecommitdiff
path: root/src/settings.h
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2019-07-18 23:42:37 +0200
committerAndré Nusser <andre.nusser@googlemail.com>2019-07-18 23:44:55 +0200
commit8877cd2ecd225ddb35a7c21589ad87fdbe0f6dc5 (patch)
treeaed063e436d8f77656dfe44daba86629f72ba7a8 /src/settings.h
parent63ca90b25a1c14e8d5082ab7347370e934718b58 (diff)
Fix issues of sample selection choosing very far samples.
It can still do so, but it is much more unlikely and generally more stable now.
Diffstat (limited to 'src/settings.h')
-rw-r--r--src/settings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/settings.h b/src/settings.h
index 4872236..84add97 100644
--- a/src/settings.h
+++ b/src/settings.h
@@ -75,9 +75,9 @@ struct Settings
static float constexpr velocity_modifier_falloff_default = 0.5f;
static float constexpr velocity_modifier_weight_default = 0.25f;
static float constexpr velocity_stddev_default = 1.0f;
- static float constexpr sample_selection_f_close_default = 4.f;
- static float constexpr sample_selection_f_diverse_default = .1f;
- static float constexpr sample_selection_f_random_default = 0.05f;
+ static float constexpr sample_selection_f_close_default = 2.f;
+ static float constexpr sample_selection_f_diverse_default = .2f;
+ static float constexpr sample_selection_f_random_default = 0.1f;
Atomic<float> velocity_modifier_falloff{velocity_modifier_falloff_default};
Atomic<float> velocity_modifier_weight{velocity_modifier_weight_default};
Atomic<float> velocity_stddev{velocity_stddev_default};