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
8f1fbffd
Commit
8f1fbffd
authored
May 02, 2010
by
dalcinl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MSVC: quick fix for int complex test failing in C++, do not use std::complex<int>
parent
9821a448
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
tests/run/complex_int_T446.pyx
tests/run/complex_int_T446.pyx
+3
-0
tests/run/complex_int_T446_fix.h
tests/run/complex_int_T446_fix.h
+3
-0
No files found.
tests/run/complex_int_T446.pyx
View file @
8f1fbffd
import
cython
cdef
extern
from
"complex_int_T446_fix.h"
:
pass
def
test_arith
(
int
complex
a
,
int
complex
b
):
"""
>>> test_arith(4, 2)
...
...
tests/run/complex_int_T446_fix.h
0 → 100644
View file @
8f1fbffd
#if defined _MSC_VER && defined __cplusplus
#define CYTHON_CCOMPLEX 0
#endif
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