la.larry([], dtype=np.int).sum(0) chokes #50

Closed
kwgoodman opened this Issue Mar 5, 2012 · 0 comments

Comments

Projects
None yet
1 participant
Owner

kwgoodman commented Mar 5, 2012

This works:

I[1] la.larry([]).sum(0)
O[1] nan

But this doesn't:

I[2] la.larry([], dtype=np.int).sum(0)
ValueError: cannot convert float NaN to integer

@kwgoodman kwgoodman closed this in 225e1db Mar 8, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment