make no sense to call findAndRemoveFactors on the same key twice

release/4.3a0
Kai Ni 2010-04-21 22:08:41 +00:00
parent 1dce90bd76
commit b33ec1a34c
1 changed files with 0 additions and 3 deletions

View File

@ -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());
}