diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-04 11:44:15 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2015-04-04 11:44:15 +0200 |
commit | e5ac953bab755f8d61e98d7671cb2265aea00080 (patch) | |
tree | be5420ace6ddcbb456f5fbd64487223f1a81f3de /src/systemcmds | |
parent | 3444b2417f6bbfe36b7317e1444546ab40c5bbf3 (diff) | |
download | px4-firmware-e5ac953bab755f8d61e98d7671cb2265aea00080.tar.gz px4-firmware-e5ac953bab755f8d61e98d7671cb2265aea00080.tar.bz2 px4-firmware-e5ac953bab755f8d61e98d7671cb2265aea00080.zip |
Eigen: Attempt to fix unit test
Diffstat (limited to 'src/systemcmds')
-rw-r--r-- | src/systemcmds/tests/test_eigen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemcmds/tests/test_eigen.cpp b/src/systemcmds/tests/test_eigen.cpp index fb50e0d7a..fb0577787 100644 --- a/src/systemcmds/tests/test_eigen.cpp +++ b/src/systemcmds/tests/test_eigen.cpp @@ -171,7 +171,7 @@ int test_eigen(int argc, char *argv[]) } { - Eigen::Vector4f v; + Eigen::Vector4f v(0.0f, 0.0f, 0.0f, 0.0f); Eigen::Vector4f v1(1.0f, 2.0f, 0.0f, -1.0f); Eigen::Vector4f v2(1.0f, -1.0f, 2.0f, 0.0f); float data[4] = {1.0f, 2.0f, 3.0f, 4.0f}; |