We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 14ab300 commit 3fbad9bCopy full SHA for 3fbad9b
1 file changed
pycona/find_scope/findscope_obj.py
@@ -39,7 +39,7 @@ def split_proba(Y, R, kappaB, P_c, **kwargs):
39
model = cp.Model()
40
41
constraints_Y1 = sum((1 - 10 * ((1 / P_c[kappaB[i]]) <= math.log2(len(Y)))) *
42
- all(hash(scope_var) in hashR or x[hashY.index(hash(scope_var))]
+ cp.all(hash(scope_var) in hashR or x[hashY.index(hash(scope_var))]
43
for scope_var in get_scope(kappaB[i]))
44
for i in range(len(kappaB)))
45
0 commit comments