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
Gwenaël Samain
cython
Commits
10bd329d
Commit
10bd329d
authored
Jan 23, 2015
by
Lars Buitinck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix erroneous prototypes for npy_logaddexp*
parent
d0c1a7a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
CHANGES.rst
CHANGES.rst
+3
-0
Cython/Includes/numpy/math.pxd
Cython/Includes/numpy/math.pxd
+6
-6
No files found.
CHANGES.rst
View file @
10bd329d
...
@@ -40,6 +40,9 @@ Bugs fixed
...
@@ -40,6 +40,9 @@ Bugs fixed
* Failure to find any files for the path pattern(s) passed into ``cythonize()``
* Failure to find any files for the path pattern(s) passed into ``cythonize()``
is now an error to more easily detect accidental typos.
is now an error to more easily detect accidental typos.
* The ``logaddexp`` family of functions in ``numpy.math`` now has correct
declarations.
Other changes
Other changes
-------------
-------------
...
...
Cython/Includes/numpy/math.pxd
View file @
10bd329d
...
@@ -119,15 +119,15 @@ cdef extern from "numpy/npy_math.h" nogil:
...
@@ -119,15 +119,15 @@ cdef extern from "numpy/npy_math.h" nogil:
# NumPy extensions
# NumPy extensions
float
deg2radf
"npy_deg2radf"
(
float
x
)
float
deg2radf
"npy_deg2radf"
(
float
x
)
float
rad2degf
"npy_rad2degf"
(
float
x
)
float
rad2degf
"npy_rad2degf"
(
float
x
)
float
logaddexpf
"npy_logaddexpf"
(
float
x
)
float
logaddexpf
"npy_logaddexpf"
(
float
x
,
float
y
)
float
logaddexp2f
"npy_logaddexp2f"
(
float
x
)
float
logaddexp2f
"npy_logaddexp2f"
(
float
x
,
float
y
)
double
deg2rad
"npy_deg2rad"
(
double
x
)
double
deg2rad
"npy_deg2rad"
(
double
x
)
double
rad2deg
"npy_rad2deg"
(
double
x
)
double
rad2deg
"npy_rad2deg"
(
double
x
)
double
logaddexp
"npy_logaddexp"
(
double
x
)
double
logaddexp
"npy_logaddexp"
(
double
x
,
double
y
)
double
logaddexp2
"npy_logaddexp2"
(
double
x
)
double
logaddexp2
"npy_logaddexp2"
(
double
x
,
double
y
)
long
double
deg2radl
"npy_deg2radl"
(
long
double
x
)
long
double
deg2radl
"npy_deg2radl"
(
long
double
x
)
long
double
rad2degl
"npy_rad2degl"
(
long
double
x
)
long
double
rad2degl
"npy_rad2degl"
(
long
double
x
)
long
double
logaddexpl
"npy_logaddexpl"
(
long
double
x
)
long
double
logaddexpl
"npy_logaddexpl"
(
long
double
x
,
long
double
y
)
long
double
logaddexp2l
"npy_logaddexp2l"
(
long
double
x
)
long
double
logaddexp2l
"npy_logaddexp2l"
(
long
double
x
,
long
double
y
)
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