Skip to content
Snippets Groups Projects
Commit 7decd1b5 authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Be more permissive about map_expr on ComputedStrideArrayDimTag.

parent 6ca3eff8
No related branches found
No related tags found
No related merge requests found
......@@ -97,9 +97,7 @@ class ComputedStrideArrayDimTag(_StrideArrayDimTagBase):
return "%s(pad=%s)" % (self.order, self.pad_to)
def map_expr(self, mapper):
raise TypeError("ComputedStrideArrayDimTag is a transient type only used "
"for construction of arrays. It should never have to map its "
"expressions.")
return self
class SeparateArrayArrayDimTag(ArrayDimImplementationTag):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment