Deep network
debug.hpp
Go to the documentation of this file.
1
#ifndef DEBUG_HPP
2
#define DEBUG_HPP
3
4
#include <iostream>
5
using namespace
std;
6
7
#ifdef DEBUG
8
#define assert(cond) if(!(cond)){cout<<"Assertion failed @ "
<<__FILE__<<":"<<__LINE__<<endl;exit(0);}
9
#else
10
#define NDEBUG
11
#define assert(cond)
12
#endif
13
14
#endif
src
debug.hpp
Generated by
1.9.3