From badb22c304efe655639335dd21b9896a4b69f740 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sat, 30 Jun 2012 07:08:29 +0000 Subject: [PATCH] Got rid of unused warning --- gtsam/inference/VariableIndex.h | 1 - 1 file changed, 1 deletion(-) diff --git a/gtsam/inference/VariableIndex.h b/gtsam/inference/VariableIndex.h index f497b4706..be47cbd5a 100644 --- a/gtsam/inference/VariableIndex.h +++ b/gtsam/inference/VariableIndex.h @@ -216,7 +216,6 @@ void VariableIndex::augment(const FactorGraph& factors) { } // Allocate index - Index originalSize = index_.size(); index_.resize(std::max(index_.size(), maxVar+1)); // Augment index mapping from variable id to factor index