Helper macro for cout printing

release/4.3a0
Varun Agrawal 2024-12-23 10:31:39 -05:00
parent afc6868ca3
commit 28065b737b
1 changed files with 1 additions and 0 deletions

View File

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