more precise printing
parent
deae4499a1
commit
51352bf3f5
|
@ -163,7 +163,7 @@ namespace gtsam {
|
||||||
const typename Base::LabelFormatter& labelFormatter =
|
const typename Base::LabelFormatter& labelFormatter =
|
||||||
&DefaultFormatter) const {
|
&DefaultFormatter) const {
|
||||||
auto valueFormatter = [](const double& v) {
|
auto valueFormatter = [](const double& v) {
|
||||||
return (boost::format("%4.2g") % v).str();
|
return (boost::format("%4.4g") % v).str();
|
||||||
};
|
};
|
||||||
Base::print(s, labelFormatter, valueFormatter);
|
Base::print(s, labelFormatter, valueFormatter);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue