Formatting
parent
40bf395856
commit
74c503faaa
|
@ -189,7 +189,8 @@ namespace gtsam {
|
|||
/* ************************************************************************* */
|
||||
template<class FG, class BTCLIQUE>
|
||||
typename BTCLIQUE::shared_ptr JunctionTree<FG,BTCLIQUE>::eliminate(
|
||||
typename FG::Eliminate function) const {
|
||||
typename FG::Eliminate function) const
|
||||
{
|
||||
if (this->root()) {
|
||||
gttic(JT_eliminate);
|
||||
std::pair<typename BTClique::shared_ptr, typename FG::sharedFactor> ret =
|
||||
|
|
|
@ -61,7 +61,7 @@ void VectorValues::insert(Index j, const Vector& value) {
|
|||
void VectorValues::print(const std::string& str, const IndexFormatter& formatter) const {
|
||||
std::cout << str << ": " << size() << " elements\n";
|
||||
for (Index var = 0; var < size(); ++var)
|
||||
std::cout << " " << formatter(var) << ": \n" << (*this)[var] << "\n";
|
||||
std::cout << " " << formatter(var) << ": " << (*this)[var].transpose() << "\n";
|
||||
std::cout.flush();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue