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; Parameter() = default;