summaryrefslogtreecommitdiff
path: root/viewport.h
diff options
context:
space:
mode:
Diffstat (limited to 'viewport.h')
-rw-r--r--viewport.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/viewport.h b/viewport.h
index 72e938e..51159c9 100644
--- a/viewport.h
+++ b/viewport.h
@@ -27,7 +27,7 @@ class bias_ctx {
public:
bias_ctx() : enabled(false) {}
- bias_ctx(bool enabled, uint64_t seed = 0UL) : enabled(enabled), mt(std::mt19937_64{seed}) {}
+ bias_ctx(uint64_t seed) : enabled(true), mt(std::mt19937_64{seed}) {}
void operator()(double &bx, double &by) {
if (enabled) {