numpy/numpy — pull request #2777 by seberg (2012-12-01 21:47:16+00:00)
Title: BUG: Fix bad memory access for 0-sized outputs in numpy dot

This fixes a bug where bad memory was written to in non-blas numpy if the output was a (0, N) array. Closes "Issue gh-2775".

In principle there would be some more tests good. This also fixes that `np.inner(empty, empty) -> zeros`, but thats just copy paste from `dot`.