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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
93b894bd
Commit
93b894bd
authored
Mar 29, 2008
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comparison bug for longs and doubles #208053
parent
e75e3530
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Cython/Compiler/ExprNodes.py
Cython/Compiler/ExprNodes.py
+2
-0
No files found.
Cython/Compiler/ExprNodes.py
View file @
93b894bd
...
...
@@ -3338,6 +3338,8 @@ class CmpNode:
if
(
type1
.
is_extension_type
or
type2
.
is_extension_type
)
\
and
not
type1
.
same_as
(
type2
):
common_type
=
py_object_type
elif
type1
.
is_numeric
:
common_type
=
PyrexTypes
.
widest_numeric_type
(
type1
,
type2
)
else
:
common_type
=
type1
code1
=
operand1
.
result_as
(
common_type
)
...
...
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