You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
array[int, int] of int: foos = [| 1, 0 |];
array[int] of int: bar = [
r[1] | i in index_set_1of2(foos), r=foos[i, ..]
];
Playground.mzn:3.1-22
in
variable declaration for 'bar'
in
array comprehension expression
Playground.mzn:4.15-34
with
i = 1
with
r = <expression>
in
array access
MiniZinc:
evaluation error: arrays of arrays not supported
Process finished with non-zero exit code 1.
Seen in latest.
The text was updated successfully, but these errors were encountered:
I thought I could assign a slice of a 2d array in a list comprehension, but it seems to fail.
playground.mzn
Seen in latest.
The text was updated successfully, but these errors were encountered: