Affine expression slicing allows some out-of-bounds access.
Hello, when I run:
import picos as pic
p = pic.Problem()
v = p.add_variable('v', (3,10), vtype='binary')
c = v[10,1] > 0
Well, it does not complain about v[10,1] do not exist (and I guess this should not happen).
However, when I try v[3,10] (which I am quite sure it does not exist) it complains that it does not exist.
Am I doing something wrong?
Edited by Maximilian Stahlberg