I am slicing a matrix into 21 rows and dynamically select rows to pass. Since [jit.scissors] only allows for 16 slices I have to slice the matrix twice and then glue it back together. Please see the attached patch. I am not sure why this shouldn't work properly.
Any help is greatly appreciated!