Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[math] fix filter moving average for floating-point type
std::accumulate<T>(first, last, init) deduces the type T based on the type of the init argument. Therefore, you need to pass the matching type.
- Loading branch information