Sorry, my dislike of line breaks got the better of me -- though ndtype is defined identically just above, i.e., the test remains the same.