numpy/numpy — pull request #477 by seberg (2012-10-01 17:37:21+00:00)
Title: BUG: Fix complex to bool conversion in lowlevel_strided_loops

This is a fix for Ticket 2218. I am not sure if this is the best way to fix it, but I hunted it down to that place and just implemented the first fix that seemed reasonable.

On a side note, the arraytypes.c.src code seems to handle complex to bool conversion fine, but when does it get called at all?