|
33 | 33 | % |
34 | 34 |
|
35 | 35 | predicate gecode_table_bool(array[int] of var bool: x, |
36 | | - array[int, int] of int: t); |
| 36 | + array[int] of int: t); |
37 | 37 |
|
38 | 38 | predicate gecode_table_bool_reif(array[int] of var bool: x, |
39 | | - array[int, int] of int: t, var bool: b); |
| 39 | + array[int] of int: t, var bool: b); |
40 | 40 |
|
41 | 41 | predicate gecode_table_bool_imp(array[int] of var bool: x, |
42 | | - array[int, int] of int: t, var bool: b); |
| 42 | + array[int] of int: t, var bool: b); |
43 | 43 |
|
44 | 44 | predicate table_bool(array[int] of var bool: x, array[int, int] of int: t) = |
45 | 45 | assert (index_set_2of2(t) == index_set(x), |
46 | 46 | "The second dimension of the table must equal the number of variables " |
47 | 47 | ++ "in the first argument", |
48 | | - gecode_table_bool(x,t)); |
| 48 | + gecode_table_bool(x,array1d(t))); |
49 | 49 |
|
50 | 50 | predicate table_bool_reif(array[int] of var bool: x, array[int, int] of int: t, |
51 | 51 | var bool: b) = |
52 | 52 | assert (index_set_2of2(t) == index_set(x), |
53 | 53 | "The second dimension of the table must equal the number of variables " |
54 | 54 | ++ "in the first argument", |
55 | | - gecode_table_bool_reif(x,t,b)); |
| 55 | + gecode_table_bool_reif(x,array1d(t),b)); |
56 | 56 |
|
57 | 57 | predicate table_bool_imp(array[int] of var bool: x, array[int, int] of int: t, |
58 | 58 | var bool: b) = |
59 | 59 | assert (index_set_2of2(t) == index_set(x), |
60 | 60 | "The second dimension of the table must equal the number of variables " |
61 | 61 | ++ "in the first argument", |
62 | | - gecode_table_bool_imp(x,t,b)); |
| 62 | + gecode_table_bool_imp(x,array1d(t),b)); |
0 commit comments