[wpimath] Document C++ LinearFilter exception (#4417)

This commit is contained in:
Tyler Veness
2022-09-17 00:24:35 -07:00
committed by GitHub
parent ba4ec6c967
commit 4eb1d03fb3

View File

@@ -157,6 +157,7 @@ class LinearFilter {
*
* @param taps The number of samples to average over. Higher = smoother but
* slower
* @throws std::runtime_error if number of taps is less than 1.
*/
static LinearFilter<T> MovingAverage(int taps) {
if (taps <= 0) {