bristlemouth / bm_protocol

Primary Bristlemouth firmware repository
https://www.bristlemouth.org/
Apache License 2.0
10 stars 7 forks source link

fix: reuse abs speed mean for std calculation #60

Closed towynlin closed 9 months ago

towynlin commented 9 months ago

The single argument true is being converted to the double value 1.0 for the first argument "mean", rather than the third bool arg useKahan as we intended. The output data is consistent with a mean of 1.0. The C++ compiler cares more about argument position than it cares about type (bool vs double).