Commit ccf53501 authored by Stefan Behnel's avatar Stefan Behnel

fix some typos

--HG--
extra : transplant_source : u%8C%DA%B6W%85%BC%FDA%A0%9C8%B6%16%86B%12%B6%1C/
parent 5968096a
...@@ -439,13 +439,16 @@ def get_is_contig_utility(c_contig, ndim): ...@@ -439,13 +439,16 @@ def get_is_contig_utility(c_contig, ndim):
return utility return utility
def copy_src_to_dst_cname(): def copy_src_to_dst_cname():
return "__pyx_memoryview_copy_contents" return "__pyx_memoryview_copy_contents"
def verify_direct_dimensions(node): def verify_direct_dimensions(node):
for access, packing in node.type.axes: for access, packing in node.type.axes:
if access != 'direct': if access != 'direct':
error(self.pos, "All dimensions must be direct") error(node.pos, "All dimensions must be direct")
def copy_broadcast_memview_src_to_dst(src, dst, code): def copy_broadcast_memview_src_to_dst(src, dst, code):
""" """
...@@ -662,7 +665,7 @@ def get_axes_specs(env, axes): ...@@ -662,7 +665,7 @@ def get_axes_specs(env, axes):
if entry.name in view_constant_to_access_packing: if entry.name in view_constant_to_access_packing:
axes_specs.append(view_constant_to_access_packing[entry.name]) axes_specs.append(view_constant_to_access_packing[entry.name])
else: else:
raise CompilerError(axis.step.pos, INVALID_ERR) raise CompileError(axis.step.pos, INVALID_ERR)
else: else:
raise CompileError(axis.step.pos, INVALID_ERR) raise CompileError(axis.step.pos, INVALID_ERR)
......
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