would be better, changed to ``ndarray or scalar``.