Helper macro for cout printing
parent
afc6868ca3
commit
28065b737b
|
@ -41,6 +41,7 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#define GTSAM_PRINT(x)((x).print(#x))
|
#define GTSAM_PRINT(x)((x).print(#x))
|
||||||
|
#define GTSAM_COUT(x) (std::cout << #x ": " << x << std::endl)
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue