From 38a895507db1dbe72a80b08f83d33d2f155d5b1e Mon Sep 17 00:00:00 2001 From: Chris Beall Date: Tue, 13 Aug 2013 14:17:05 +0000 Subject: [PATCH] fix warning about ambiguous parentheses --- gtsam/nonlinear/ISAM2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gtsam/nonlinear/ISAM2.cpp b/gtsam/nonlinear/ISAM2.cpp index 68d6870cd..0e093003f 100644 --- a/gtsam/nonlinear/ISAM2.cpp +++ b/gtsam/nonlinear/ISAM2.cpp @@ -505,10 +505,11 @@ boost::shared_ptr > ISAM2::recalculate(const FastSet& markedKe } // Root clique variables for detailed results - if(params_.enableDetailedResults) + if(params_.enableDetailedResults) { BOOST_FOREACH(const sharedNode& root, this->roots()) BOOST_FOREACH(Key var, *root->conditional()) result.detail->variableStatus[var].inRootClique = true; + } return affectedKeysSet; }