Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Matrix: fix warning if M == N (PX4#146)
This fixes the warning appearing with GCC 10.2: ../../src/lib/matrix/matrix/Matrix.hpp:481:34: error: logical ‘and’ of equal expressions [-Werror=logical-op] 481 | for (size_t i = 0; i < M && i < N; i++) { | I would prefered something with if constexpr but we don't have that yet in because we're using C++14.
- Loading branch information