Commit 05739037 authored by Mark Florisson's avatar Mark Florisson

Fix buffer type same_as method

parent b997c4ae
......@@ -798,7 +798,7 @@ class BufferType(BaseType):
self.dtype.same_as(other_type.dtype) and
self.ndim == other_type.ndim and
self.mode == other_type.mode and
self.cast == other_type.cast)
self.cast == other_type.cast) or self.base.same_as(other_type)
class PyObjectType(PyrexType):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment