Sorry, that was a stupid comment by me. Can you remove it? And maybe add one above saying something like: Do not allow 0-d arrays because following code fails for scalars. (If that is understandable)