fix macro so GTSAM_PRINT(*foo) works

release/4.3a0
Frank Dellaert 2009-12-11 04:57:14 +00:00
parent 7151e7b24a
commit c57501eddd
1 changed files with 1 additions and 1 deletions

View File

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