Fixed compile error, sorry!
parent
9d4ba6acb9
commit
f2e346525f
|
|
@ -17,10 +17,11 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <iostream>
|
#include <gtsam/inference/Factor.h>
|
||||||
#include <boost/foreach.hpp>
|
#include <boost/foreach.hpp>
|
||||||
#include <boost/make_shared.hpp>
|
#include <boost/make_shared.hpp>
|
||||||
#include <gtsam/inference/Factor.h>
|
#include <iostream>
|
||||||
|
#include <stdexcept>
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
|
|
@ -57,8 +58,7 @@ namespace gtsam {
|
||||||
template<typename KEY>
|
template<typename KEY>
|
||||||
void Factor<KEY>::print(const std::string& s) const {
|
void Factor<KEY>::print(const std::string& s) const {
|
||||||
std::cout << s << " ";
|
std::cout << s << " ";
|
||||||
BOOST_FOREACH(KEY key, keys_)
|
BOOST_FOREACH(KEY key, keys_) std::cout << " " << key;
|
||||||
std::cout << " " << key;
|
|
||||||
std::cout << std::endl;
|
std::cout << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue