fix all sign-compare warnings

This commit is contained in:
Daniel Agar
2018-07-01 09:36:55 +00:00
committed by Lorenz Meier
parent cf74166801
commit 9ce83f2208
54 changed files with 106 additions and 129 deletions
+2 -2
View File
@@ -66,14 +66,14 @@ public:
_state(),
_fCut(this, "") // only one parameter, no need to name
{
for (int i = 0; i < M; i++) {
for (size_t i = 0; i < M; i++) {
_state(i) = 0.0f / 0.0f;
}
}
virtual ~BlockLowPassVector() {}
matrix::Vector<Type, M> update(const matrix::Matrix<Type, M, 1> &input)
{
for (int i = 0; i < M; i++) {
for (size_t i = 0; i < M; i++) {
if (!PX4_ISFINITE(getState()(i))) {
setState(input);
}