From f1f3c04c2e8ac19648066819e97082f129588500 Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Sun, 9 Jan 2022 17:00:41 -0500 Subject: [PATCH] Fix single quotes --- gtsam/discrete/DecisionTreeFactor.cpp | 2 +- gtsam/discrete/DiscreteConditional.cpp | 2 +- gtsam/discrete/DiscreteValues.cpp | 4 ++-- gtsam/discrete/tests/testDiscreteValues.cpp | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gtsam/discrete/DecisionTreeFactor.cpp b/gtsam/discrete/DecisionTreeFactor.cpp index c50811a506..ad4cbad434 100644 --- a/gtsam/discrete/DecisionTreeFactor.cpp +++ b/gtsam/discrete/DecisionTreeFactor.cpp @@ -226,7 +226,7 @@ namespace gtsam { stringstream ss; // Print out preamble. - ss << "
\n\n \n"; + ss << "
\n
\n \n"; // Print out header row. ss << " "; diff --git a/gtsam/discrete/DiscreteConditional.cpp b/gtsam/discrete/DiscreteConditional.cpp index 82018abea6..0bdc7d7b5a 100644 --- a/gtsam/discrete/DiscreteConditional.cpp +++ b/gtsam/discrete/DiscreteConditional.cpp @@ -396,7 +396,7 @@ string DiscreteConditional::html(const KeyFormatter& keyFormatter, } // Print out preamble. - ss << "
\n \n"; + ss << "
\n \n"; // Print out header row. ss << " "; diff --git a/gtsam/discrete/DiscreteValues.cpp b/gtsam/discrete/DiscreteValues.cpp index 8a09de7425..5d0c8dd3d5 100644 --- a/gtsam/discrete/DiscreteValues.cpp +++ b/gtsam/discrete/DiscreteValues.cpp @@ -65,7 +65,7 @@ string DiscreteValues::html(const KeyFormatter& keyFormatter, stringstream ss; // Print out preamble. - ss << "
\n
\n \n"; + ss << "
\n
\n \n"; // Print out header row. ss << " \n"; @@ -76,7 +76,7 @@ string DiscreteValues::html(const KeyFormatter& keyFormatter, // Print out all rows. for (const auto& kv : *this) { ss << " "; - ss << ""; ss << "\n"; } diff --git a/gtsam/discrete/tests/testDiscreteValues.cpp b/gtsam/discrete/tests/testDiscreteValues.cpp index 5e7c0ac6f1..c8a1fa1680 100644 --- a/gtsam/discrete/tests/testDiscreteValues.cpp +++ b/gtsam/discrete/tests/testDiscreteValues.cpp @@ -57,8 +57,8 @@ TEST(DiscreteValues, htmlWithValueFormatter) { " \n" " \n" " \n" - " \n" - " \n" + " \n" + " \n" " \n" "
Variablevalue
" << keyFormatter(kv.first) << "\'" + ss << "" << keyFormatter(kv.first) << "" << Translate(names, kv.first, kv.second) << "
Variablevalue
B'-
A'One
B-
AOne
\n" "
";