minor fix
parent
f1dedca2b7
commit
1c76de40d1
|
|
@ -32,12 +32,14 @@ using namespace std;
|
||||||
using namespace gtsam;
|
using namespace gtsam;
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void DOT(const T&f, const string& filename) {
|
void write_dot(const T&f, const string& filename) {
|
||||||
#ifndef DISABLE_DOT
|
#ifndef DISABLE_DOT
|
||||||
f.dot(filename);
|
f.dot(filename);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#define DOT(x)(write_dot(x,#x))
|
||||||
|
|
||||||
struct Crazy { int a; double b; };
|
struct Crazy { int a; double b; };
|
||||||
typedef DecisionTree<string,Crazy> CrazyDecisionTree; // check that DecisionTree is actually generic (as it pretends to be)
|
typedef DecisionTree<string,Crazy> CrazyDecisionTree; // check that DecisionTree is actually generic (as it pretends to be)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue