summaryrefslogtreecommitdiff
path: root/chill
diff options
context:
space:
mode:
Diffstat (limited to 'chill')
-rw-r--r--chill/CMakeLists.txt2
-rw-r--r--chill/src/chillmodule.cc1
2 files changed, 2 insertions, 1 deletions
diff --git a/chill/CMakeLists.txt b/chill/CMakeLists.txt
index 555f78b..6f58597 100644
--- a/chill/CMakeLists.txt
+++ b/chill/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(PythonLibs REQUIRED)
+find_package(PythonLibs 2.7 REQUIRED)
find_package(BISON)
find_package(FLEX)
diff --git a/chill/src/chillmodule.cc b/chill/src/chillmodule.cc
index 024ac33..0e41f88 100644
--- a/chill/src/chillmodule.cc
+++ b/chill/src/chillmodule.cc
@@ -341,6 +341,7 @@ static PyObject* chill_exit(PyObject* self, PyObject* args) {
static void add_known(std::string cond_expr) {
int num_dim = myloop->known.n_set();
std::vector<std::map<std::string, int> >* cond;
+ // TODO since we are using python, change this!
cond = parse_relation_vector(cond_expr.c_str());
Relation rel(num_dim);