Skip to content

Commit

Permalink
Merge pull request scipy#9730 from cgohlke/patch-1
Browse files Browse the repository at this point in the history
ENH: reduce sizeof(NI_WatershedElement) by 20%
  • Loading branch information
rgommers authored Feb 3, 2019
2 parents 05593ec + de8c192 commit 5c8ecaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scipy/ndimage/src/ni_measure.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ break

typedef struct {
npy_intp index;
npy_uint8 cost;
void *next, *prev;
npy_uint16 done;
npy_uint8 cost;
} NI_WatershedElement;

int NI_WatershedIFT(PyArrayObject* input, PyArrayObject* markers,
Expand Down

0 comments on commit 5c8ecaf

Please sign in to comment.