mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-12-06 09:11:07 +08:00
Add cholesky decomp, Closes #30, and dynamic print buf
This commit is contained in:
1 parent
a154e14439
commit
63aea23f9e
12 files changed
+165
-64
No files matched your search
@@ -101,10 +101,8 @@ int main()
|
||||
|
||||
Scalar<float> s;
|
||||
s = 1;
|
||||
float const & s_float = (const Scalar<float>)s;
|
||||
const Vector<float, 1> & s_vect = s;
|
||||
TEST(fabs(s - 1) < 1e-5);
|
||||
TEST(fabs(s_float - 1.0f) < 1e-5);
|
||||
TEST(fabs(s_vect(0) - 1.0f) < 1e-5);
|
||||
|
||||
Matrix<float, 1, 1> m5 = s;
|
||||
|
||||
Reference in new issue
Block a user