Commit 7c63e2d1 authored by Stefan Behnel's avatar Stefan Behnel

Do not compare the "writable_needed" flag when comparing memory views that...

Do not compare the "writable_needed" flag when comparing memory views that condition is too strict and it is not currently used anyway.
parent 9ca6532b
......@@ -635,7 +635,7 @@ class MemoryViewSliceType(PyrexType):
def same_as_resolved_type(self, other_type):
return ((other_type.is_memoryviewslice and
self.writable_needed == other_type.writable_needed and
#self.writable_needed == other_type.writable_needed and # FIXME: should be only uni-directional
self.dtype.same_as(other_type.dtype) and
self.axes == other_type.axes) or
other_type is error_type)
......
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