Skip to content

Commit 504c855

Browse files
committed
last pre_commit
Signed-off-by: silanus23 <berkantali23@outlook.com>
1 parent a716b0e commit 504c855

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

control_toolbox/include/control_toolbox/filters.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ namespace filters
4141
* Values closer to 0 weight the last smoothed value more heavily */
4242

4343
template <typename T>
44-
static inline T exponentialSmoothing(const T & current_raw_value, const T & last_smoothed_value, double alpha)
44+
static inline T exponentialSmoothing(
45+
const T & current_raw_value, const T & last_smoothed_value, double alpha)
4546
{
4647
return alpha * current_raw_value + (1 - alpha) * last_smoothed_value;
4748
}

0 commit comments

Comments
 (0)