From b33ec1a34c3948cded06c60d3251f5e70bb51454 Mon Sep 17 00:00:00 2001 From: Kai Ni Date: Wed, 21 Apr 2010 22:08:41 +0000 Subject: [PATCH] make no sense to call findAndRemoveFactors on the same key twice --- cpp/testGaussianFactorGraph.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpp/testGaussianFactorGraph.cpp b/cpp/testGaussianFactorGraph.cpp index 3db5baa32..4beffbda5 100644 --- a/cpp/testGaussianFactorGraph.cpp +++ b/cpp/testGaussianFactorGraph.cpp @@ -557,9 +557,6 @@ TEST( GaussianFactorGraph, findAndRemoveFactors_twice ) CHECK(f1==factors[1]); CHECK(f2==factors[2]); - factors = fg.findAndRemoveFactors("x1"); - CHECK(factors.size() == 0); - // CHECK if the factors are deleted from the factor graph LONGS_EQUAL(1,fg.nrFactors()); }