1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

debug macros

This commit is contained in:
Antonin Portelli 2014-03-12 18:41:36 +00:00
parent 30c1e18a48
commit 1b8638e797

View File

@ -35,6 +35,8 @@
// macro utilities
#define unique_arg(...) __VA_ARGS__
#define DEBUG_VAR(x) std::cout << #x << "= " << x << std::endl
#define DEBUG_MAT(m) std::cout << #m << "=\n" << m << std::endl
// attribute to switch off unused warnings with gcc
#ifndef __GNUC__