Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
ccf53501
Commit
ccf53501
authored
Oct 09, 2014
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix some typos
--HG-- extra : transplant_source : u%8C%DA%B6W%85%BC%FDA%A0%9C8%B6%16%86B%12%B6%1C/
parent
5968096a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Cython/Compiler/MemoryView.py
Cython/Compiler/MemoryView.py
+5
-2
No files found.
Cython/Compiler/MemoryView.py
View file @
ccf53501
...
@@ -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
Compile
r
Error
(
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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment