add formatter to GaussianConditional mean printing

release/4.3a0
Varun Agrawal 2023-01-15 01:53:21 -05:00
parent 35d560f3fc
commit 86bfdf76cb
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ namespace gtsam {
cout << formatMatrixIndented(" d = ", getb(), true) << "\n"; cout << formatMatrixIndented(" d = ", getb(), true) << "\n";
if (nrParents() == 0) { if (nrParents() == 0) {
const auto mean = solve({}); // solve for mean. const auto mean = solve({}); // solve for mean.
mean.print(" mean"); mean.print(" mean", formatter);
} }
if (model_) if (model_)
model_->print(" Noise model: "); model_->print(" Noise model: ");