Browse Source
Initialize mean_, stddev_, and b_ in the Stats constructor so the cached members are not left indeterminate before finalize() populates them. The finalized_ state already protects these members from being read before they are calculated, so this is a defensive initialization rather than a functional fix. Detected by cppcheck. Signed-off-by: Robin Getz <rgetz503@gmail.com>chirpmodem-v8.0.0
1 changed files with 3 additions and 0 deletions
Loading…
Reference in new issue