kctess5/range_libc

Segfault in PyOMap initialization from ndarray

Opened this issue · 0 comments

self.thisptr = new OMap(<int>height,<int>width)

Shouldn't this be

self.thisptr = new OMap(<int>width,<int>height)

instead?

Otherwise at L145 we access grid[width-1] whereas grid is initialized to size height here