Commit 6691ee57 authored by Brice Videau's avatar Brice Videau

Fix bug in Evaluation.cmp.

parent 6d2ae67f
...@@ -155,7 +155,7 @@ class Evaluation(Object): ...@@ -155,7 +155,7 @@ class Evaluation(Object):
return [x.value for x in v] return [x.value for x in v]
def cmp(self, other): def cmp(self, other):
v = ccs_comparison() v = ccs_comparison(0)
res = ccs_evaluation_cmp(self.handle, other.handle, ct.byref(v)) res = ccs_evaluation_cmp(self.handle, other.handle, ct.byref(v))
Error.check(res) Error.check(res)
return v return v
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment