I'm try to flip a matrix of size [249 1 50 20], this is the code:

- Code: Select all
`printdims(delta);`

array flipped_delta = flip(delta, 0);

I get the following exception:

- Code: Select all
`Unhandled exception at 0x00000001801FCA92 (libafcu.dll) in r.exe: 0xC0000094: Integer division by zero.`

What am I doing wrong?

thanks.