Loop has to end at max dimension, otherwise segfault if dim<3. Also see line...
Description
Loop has to end at max dimension, otherwise segfault if dim<3. Also see line 713, where it is correct
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.