Formatting

release/4.3a0
Richard Roberts 2013-07-09 17:50:42 +00:00
parent 40bf395856
commit 74c503faaa
2 changed files with 3 additions and 2 deletions

View File

@ -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 =

View File

@ -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();
}