fix num submaps in trimmer_test (#424)

master
Jihoon Lee 2017-07-26 11:14:22 +02:00 committed by Holger Rapp
parent 3859da7ea4
commit 30f7de1a32
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ class FakePoseGraph : public Trimmable {
public: public:
~FakePoseGraph() override {} ~FakePoseGraph() override {}
int num_submaps(int trajectory_id) const override { return 17; } int num_submaps(int trajectory_id) const override { return 17 - trimmed_submaps_.size(); }
void MarkSubmapAsTrimmed(const SubmapId& submap_id) override { void MarkSubmapAsTrimmed(const SubmapId& submap_id) override {
trimmed_submaps_.push_back(submap_id); trimmed_submaps_.push_back(submap_id);