From f7416507faf7e2c30325daaf72e5471bd6f135c2 Mon Sep 17 00:00:00 2001 From: Almar Klein Date: Fri, 13 Dec 2013 16:37:36 +0100 Subject: [PATCH] update-mcp: Small fix. Need _start and _end attributes for the MCP class. It worked for my own tests because I overloaded the MCP class. --- skimage/graph/_mcp.pxd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skimage/graph/_mcp.pxd b/skimage/graph/_mcp.pxd index 3b35ce0b..a4025e06 100644 --- a/skimage/graph/_mcp.pxd +++ b/skimage/graph/_mcp.pxd @@ -18,6 +18,8 @@ ctypedef cnp.int16_t OFFSETS_INDEX_T cdef class MCP: cdef heap.FastUpdateBinaryHeap costs_heap cdef object costs_shape + cdef object _starts + cdef object _ends cdef DIM_T dim cdef BOOL_T dirty cdef BOOL_T use_start_cost