increase precision of ADT printing

release/4.3a0
Varun Agrawal 2022-04-07 16:41:24 -04:00
parent 2da2bcbf9c
commit 29fe4364e7
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ namespace gtsam {
const typename Base::LabelFormatter& labelFormatter =
&DefaultFormatter) const {
auto valueFormatter = [](const double& v) {
return (boost::format("%4.4g") % v).str();
return (boost::format("%4.8g") % v).str();
};
Base::print(s, labelFormatter, valueFormatter);
}