Commit dbc9f258 authored by Stefan Behnel's avatar Stefan Behnel

clean up some iteration code in memory views

parent e10ef938
...@@ -790,7 +790,7 @@ def validate_axes_specs(positions, specs, is_c_contig, is_f_contig): ...@@ -790,7 +790,7 @@ def validate_axes_specs(positions, specs, is_c_contig, is_f_contig):
if access == 'ptr': if access == 'ptr':
last_indirect_dimension = idx last_indirect_dimension = idx
for idx, pos, (access, packing) in zip(range(len(specs)), positions, specs): for idx, (pos, (access, packing)) in enumerate(zip(positions, specs)):
if not (access in access_specs and if not (access in access_specs and
packing in packing_specs): packing in packing_specs):
......
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