From 86bfdf76cb124177a2ab654c0c1e55ab9fce7e67 Mon Sep 17 00:00:00 2001 From: Varun Agrawal Date: Sun, 15 Jan 2023 01:53:21 -0500 Subject: [PATCH] add formatter to GaussianConditional mean printing --- gtsam/linear/GaussianConditional.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtsam/linear/GaussianConditional.cpp b/gtsam/linear/GaussianConditional.cpp index 10f4eabbb..31b7e2505 100644 --- a/gtsam/linear/GaussianConditional.cpp +++ b/gtsam/linear/GaussianConditional.cpp @@ -124,7 +124,7 @@ namespace gtsam { cout << formatMatrixIndented(" d = ", getb(), true) << "\n"; if (nrParents() == 0) { const auto mean = solve({}); // solve for mean. - mean.print(" mean"); + mean.print(" mean", formatter); } if (model_) model_->print(" Noise model: ");