From c57501edddab84ab53235ba38003fc87c80eb91a Mon Sep 17 00:00:00 2001 From: Frank Dellaert Date: Fri, 11 Dec 2009 04:57:14 +0000 Subject: [PATCH] fix macro so GTSAM_PRINT(*foo) works --- cpp/Testable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/Testable.h b/cpp/Testable.h index 4b4e7db9a..bc5c290dc 100644 --- a/cpp/Testable.h +++ b/cpp/Testable.h @@ -11,7 +11,7 @@ #include #include -#define GTSAM_PRINT(x)(x.print(#x)) +#define GTSAM_PRINT(x)((x).print(#x)) namespace gtsam {