From 3f89c7af4988cbf4c26c3b1cb05f9856b77e9d5e Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Sat, 4 Mar 2023 11:50:51 -0500 Subject: [PATCH] fix typo --- gtsam/hybrid/HybridSmoother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/hybrid/HybridSmoother.cpp b/gtsam/hybrid/HybridSmoother.cpp index 549c71714..43e75770d 100644 --- a/gtsam/hybrid/HybridSmoother.cpp +++ b/gtsam/hybrid/HybridSmoother.cpp @@ -45,7 +45,7 @@ Ordering HybridSmoother::getOrdering( std::copy(allDiscrete.begin(), allDiscrete.end(), std::back_inserter(newKeysDiscreteLast)); - const VariableIndex index(newFactors); + const VariableIndex index(factors); // Get an ordering where the new keys are eliminated last Ordering ordering = Ordering::ColamdConstrainedLast(