From 0004d90febb560b515bcaaa59ec21f557bc959cd Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Fri, 26 Feb 2010 05:30:02 +0000 Subject: [PATCH] formatting only --- cpp/testMatrix.cpp | 30 ++++++++++++------------------ 1 file changed, 12 insertions(+), 18 deletions(-) diff --git a/cpp/testMatrix.cpp b/cpp/testMatrix.cpp index 429b2f6ee..1eaf6995a 100644 --- a/cpp/testMatrix.cpp +++ b/cpp/testMatrix.cpp @@ -823,15 +823,12 @@ TEST( matrix, inverse_square_root ) -0.0101952, 0.0054906, 0.0892453, -0.0059468, 0.0028726, 0.0175868, 0.0047064, -0.0059468, 0.0816517); - expected = Matrix_(5, 5, 3.567126953241796, 0.000000000000000, - 0.000000000000000, 0.000000000000000, 0.000000000000000, - -0.590030436566913, 3.362022286742925, 0.000000000000000, - 0.000000000000000, 0.000000000000000, 0.618207860252376, - -0.168166020746503, 3.253086082942785, 0.000000000000000, - 0.000000000000000, 0.683045380655496, 0.283773848115276, - -0.099969232183396, 3.433537147891568, 0.000000000000000, - -0.006740136923185, -0.669325697387650, -0.169716689114923, - 0.171493059476284, 3.583921085468937); + expected = Matrix_(5, 5, + 3.567126953241796, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, + -0.590030436566913, 3.362022286742925, 0.000000000000000, 0.000000000000000, 0.000000000000000, + 0.618207860252376, -0.168166020746503, 3.253086082942785, 0.000000000000000, 0.000000000000000, + 0.683045380655496, 0.283773848115276, -0.099969232183396, 3.433537147891568, 0.000000000000000, + -0.006740136923185, -0.669325697387650, -0.169716689114923, 0.171493059476284, 3.583921085468937); EQUALITY(expected, inverse_square_root(M)); } @@ -847,15 +844,12 @@ TEST( matrix, LLt ) 0.0125325, 0.0103894, 0.0747324, 0.0036415, 0.0048741, -0.0037363, -0.0021113, 0.0036415, 0.0909464); - Matrix expected = Matrix_(5, 5, 0.295668226226627, 0.000000000000000, - 0.000000000000000, 0.000000000000000, 0.000000000000000, - -0.010437374483502, 0.295235094820875, 0.000000000000000, - 0.000000000000000, 0.000000000000000, 0.039560896175007, - 0.063407813693827, 0.301721866387571, 0.000000000000000, - 0.000000000000000, 0.027552165831157, 0.043423266737274, - 0.021695600982708, 0.267613525371710, 0.000000000000000, - 0.016485031422565, -0.012072546984405, -0.006621889326331, - 0.014405837566082, 0.300462176944247); + Matrix expected = Matrix_(5, 5, + 0.295668226226627, 0.000000000000000, 0.000000000000000, 0.000000000000000, 0.000000000000000, + -0.010437374483502, 0.295235094820875, 0.000000000000000, 0.000000000000000, 0.000000000000000, + 0.039560896175007, 0.063407813693827, 0.301721866387571, 0.000000000000000, 0.000000000000000, + 0.027552165831157, 0.043423266737274, 0.021695600982708, 0.267613525371710, 0.000000000000000, + 0.016485031422565, -0.012072546984405, -0.006621889326331, 0.014405837566082, 0.300462176944247); EQUALITY(expected, LLt(M)); }