Oops. Remove unused function, and make sure we have an array type before asking if it's a complex array.