Also print mean if no parents
parent
b772d677ec
commit
be8008e4ee
|
@ -120,6 +120,10 @@ namespace gtsam {
|
|||
<< endl;
|
||||
}
|
||||
cout << formatMatrixIndented(" d = ", getb(), true) << "\n";
|
||||
if (nrParents() == 0) {
|
||||
const auto mean = solve({}); // solve for mean.
|
||||
mean.print(" mean");
|
||||
}
|
||||
if (model_)
|
||||
model_->print(" Noise model: ");
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue