diff --git a/gtsam/discrete/tests/testDecisionTree.cpp b/gtsam/discrete/tests/testDecisionTree.cpp index f67df51a8..1dfcd3057 100644 --- a/gtsam/discrete/tests/testDecisionTree.cpp +++ b/gtsam/discrete/tests/testDecisionTree.cpp @@ -41,6 +41,9 @@ void dot(const T&f, const string& filename) { #define DOT(x)(dot(x,#x)) +struct Crazy { int a; double b; }; +typedef DecisionTree CrazyDecisionTree; // check that DecisionTree is actually generic (as it pretends to be) + /* ******************************************************************************** */ // Test string labels and int range /* ******************************************************************************** */