From 07aebc301432b72fc12b74b3cc164b826fc2e0f3 Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Thu, 7 Feb 2013 16:46:13 +0000 Subject: [PATCH] SubVector -> Vector to make clang on Mac OS happy --- gtsam/nonlinear/ISAM2-inl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/nonlinear/ISAM2-inl.h b/gtsam/nonlinear/ISAM2-inl.h index d1b70f094..87975f59b 100644 --- a/gtsam/nonlinear/ISAM2-inl.h +++ b/gtsam/nonlinear/ISAM2-inl.h @@ -82,7 +82,7 @@ void optimizeWildfire(const boost::shared_ptr& clique, double threshold, for(it = (*clique)->beginFrontals(); it!=(*clique)->endFrontals(); it++) { if(!valuesChanged) { const Vector& oldValue(originalValues[it - (*clique)->beginFrontals()]); - const SubVector& newValue(delta[*it]); + const Vector& newValue(delta[*it]); if((oldValue - newValue).lpNorm() >= threshold) { valuesChanged = true; break;