From 8900a37d939da396771bb9e8f965ed1763bb0ced Mon Sep 17 00:00:00 2001 From: Manohar Paluri Date: Tue, 23 Feb 2010 05:08:42 +0000 Subject: [PATCH] removed unncessary prints --- cpp/testTrifocal.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/cpp/testTrifocal.cpp b/cpp/testTrifocal.cpp index da17baa58..6047dd23a 100644 --- a/cpp/testTrifocal.cpp +++ b/cpp/testTrifocal.cpp @@ -89,9 +89,9 @@ TEST(Tensors, TrifocalTensor) // This checks the rank 3 (with answer checked in MATLAB); double matlab3[3][3][3] = { - { { -0, -0, 0}, { 4, 2, -4}, { 2, 1, -2}}, - { { -4, -2, 4}, {-0, -0, 0}, {-2, -1, 2}}, - { { -2, -1, 2}, { 2, 1, -2}, {-0, -0, 0}} + {{ -0, -0, 0}, { 4, 2, -4}, { 2, 1, -2}}, + {{ -4, -2, 4}, {-0, -0, 0}, {-2, -1, 2}}, + {{ -2, -1, 2}, { 2, 1, -2}, {-0, -0, 0}} }; Tensor3<3,3,3> expected3(matlab3); CHECK(assert_equality(expected3(a,_b,_e), p.first(a)* (eta(_d,_b,_e) * p.second(d)))); @@ -144,8 +144,6 @@ TEST(Tensors, TrifocalTensor1){ TrifocalTensor actual = estimateTrifocalTensor(triplets); - print(T(_a,b,c)); - print(actual(_a,b,c)); CHECK(assert_equality(T(_a,b,c), actual(_a,b,c),1e-1)); }