Fix temporary arrays
Description
Fix some temporary arrays caused by a missing contiguous flag.
Closes #570 (closed)
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.
Edited by Nicolas Tancogne-Dejean