fix macro so GTSAM_PRINT(*foo) works
parent
7151e7b24a
commit
c57501eddd
|
@ -11,7 +11,7 @@
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#define GTSAM_PRINT(x)(x.print(#x))
|
#define GTSAM_PRINT(x)((x).print(#x))
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue