Skip to content

Commit

Permalink
Fix Eigen::Index
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich committed Nov 26, 2024
1 parent b9e373a commit def5b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/control_toolbox/low_pass_filter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ bool LowPassFilter<T>::configure()
// Initialize storage Vectors
filtered_value = filtered_old_value = old_value = 0;
// TODO(destogl): make the size parameterizable and more intelligent is using complex types
for (size_t i = 0; i < 6; ++i)
for (Eigen::Index i = 0; i < 6; ++i)
{
msg_filtered[i] = msg_filtered_old[i] = msg_old[i] = 0;
}
Expand Down

0 comments on commit def5b94

Please sign in to comment.