From 3c8b10505cc2554d7f8f45a68eb070765aae18a1 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Wed, 13 Oct 2010 21:25:15 +0000 Subject: [PATCH] removed typename compile bug --- linear/tests/testGaussianFactor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/linear/tests/testGaussianFactor.cpp b/linear/tests/testGaussianFactor.cpp index 079066d47..0db314800 100644 --- a/linear/tests/testGaussianFactor.cpp +++ b/linear/tests/testGaussianFactor.cpp @@ -714,11 +714,11 @@ TEST(GaussianFactor, permuteWithInverse) // todo: fix this!!! VariableIndex should not hold slots for(Index j=0; j::mapped_factor_type& factor_pos, actualIndex[j]) { + BOOST_FOREACH( GaussianVariableIndex<>::mapped_factor_type& factor_pos, actualIndex[j]) { factor_pos.variablePosition = numeric_limits::max(); } } for(Index j=0; j::mapped_factor_type& factor_pos, expectedIndex[j]) { + BOOST_FOREACH( GaussianVariableIndex<>::mapped_factor_type& factor_pos, expectedIndex[j]) { factor_pos.variablePosition = numeric_limits::max(); } } CHECK(assert_equal(expectedIndex, actualIndex));