Ticket #1387 (new defect)
Opened 6 weeks ago
Undefined behavior for bincount for empty array
| Reported by: | cdavid | Owned by: | somebody |
|---|---|---|---|
| Priority: | normal | Milestone: | Unscheduled |
| Component: | numpy.lib | Version: | |
| Keywords: | Cc: |
Description
E.g.:
import numpy as np x = np.bincount(np.array([], dtype=int))
Note: See
TracTickets for help on using
tickets.
