scipy/scipy — pull request #4077 by larsmans (2014-10-16 11:05:18+00:00)
Title: BUG: optimize: fix botched test for scalars

Any row-vector or other ndarray with shape[0] == 0 was passed through.