From 85ff4d6105468b3b452e48a073d01c46f44b0b8b Mon Sep 17 00:00:00 2001 From: Richard Roberts Date: Fri, 23 Sep 2011 15:35:25 +0000 Subject: [PATCH] Small comment cleanup --- gtsam/nonlinear/NonlinearFactorGraph-inl.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gtsam/nonlinear/NonlinearFactorGraph-inl.h b/gtsam/nonlinear/NonlinearFactorGraph-inl.h index 236cc7ec9..ad3d957e9 100644 --- a/gtsam/nonlinear/NonlinearFactorGraph-inl.h +++ b/gtsam/nonlinear/NonlinearFactorGraph-inl.h @@ -99,10 +99,8 @@ namespace gtsam { Permutation::shared_ptr colamdPerm(Inference::PermutationCOLAMD( variableIndex)); - // Permute the Ordering and VariableIndex with the COLAMD ordering + // Permute the Ordering with the COLAMD ordering ordering->permuteWithInverse(*colamdPerm->inverse()); - // variableIndex.permute(*colamdPerm); - // SL-FIX: fix permutation // Return the Ordering and VariableIndex to be re-used during linearization // and elimination