Commit 00eff3c5 authored by Mark Florisson's avatar Mark Florisson

Fix MemoryViewSliceType's specialize method

parent 5d1fddb8
...@@ -738,6 +738,8 @@ class MemoryViewSliceType(PyrexType): ...@@ -738,6 +738,8 @@ class MemoryViewSliceType(PyrexType):
if dtype is not self.dtype: if dtype is not self.dtype:
return MemoryViewSliceType(dtype, self.axes) return MemoryViewSliceType(dtype, self.axes)
return self
def cast_code(self, expr_code): def cast_code(self, expr_code):
return expr_code return expr_code
......
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