From 9f2e5ab9b62d20b0eba6adb60d8347415ca207af Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sat, 12 Feb 2022 11:37:35 -0500 Subject: [PATCH] Fix tiny issues --- gtsam/linear/VectorValues.cpp | 2 +- gtsam/linear/tests/testVectorValues.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/gtsam/linear/VectorValues.cpp b/gtsam/linear/VectorValues.cpp index 371a5b26d..62996af27 100644 --- a/gtsam/linear/VectorValues.cpp +++ b/gtsam/linear/VectorValues.cpp @@ -395,7 +395,7 @@ namespace gtsam { // Print out all rows. #ifdef GTSAM_USE_TBB // TBB uses un-ordered map, so inefficiently order them: - std::map ordered; + std::map ordered; for (const auto& kv : *this) ordered.emplace(kv); for (const auto& kv : ordered) { #else diff --git a/gtsam/linear/tests/testVectorValues.cpp b/gtsam/linear/tests/testVectorValues.cpp index 81b15b3e2..521cc2289 100644 --- a/gtsam/linear/tests/testVectorValues.cpp +++ b/gtsam/linear/tests/testVectorValues.cpp @@ -272,7 +272,6 @@ TEST(VectorValues, html) { "\n" ""; string actual = vv.html(); - cout << actual << endl; EXPECT(actual == expected); }