# HG changeset patch # User Colin Macdonald # Date 1470815213 25200 # Node ID 461f333daf673dd43ddc430192dee75761b7695b # Parent a140160b2319333e8fecf4f75f24a8c03f71a67d Fix multi-indexing conversion to tuple * @pyobject/subsref.m: Fix indexing. diff -r a140160b2319 -r 461f333daf67 @pyobject/subsref.m --- a/@pyobject/subsref.m Tue Aug 09 21:51:28 2016 -0700 +++ b/@pyobject/subsref.m Wed Aug 10 00:46:53 2016 -0700 @@ -67,9 +67,7 @@ elseif (isscalar (t.subs)) ind = t.subs{1}; else - ## workaround bug: we get list of list instead of list - # ind = pycall ("tuple", t.subs); - ind = pycall (pyeval ("lambda x: tuple(x[0])"), t.subs); + ind = pycall ("tuple", t.subs); endif gi = pycall ("getattr", x, "__getitem__"); # x.__getitem__