aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/particles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particles.h b/src/particles.h
index 74bfa7fce..3061deb83 100644
--- a/src/particles.h
+++ b/src/particles.h
@@ -91,7 +91,7 @@ namespace ParticleParamTypes
using ValType = T;
using pickFactors = float[PN];
- T val;
+ T val = T();
using This = Parameter<T, PN>;
Parameter() = default;