[NumPy-Tickets] [NumPy] #2060: Blasdot tests with "out" argument failing
NumPy Trac
numpy-tickets@scipy....
Mon Feb 20 14:08:19 CST 2012
#2060: Blasdot tests with "out" argument failing
------------------------+---------------------------------------------------
Reporter: rgommers | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: 1.7.0
Component: numpy.core | Version: 1.6.1
Keywords: blasdot |
------------------------+---------------------------------------------------
Comment(by rgommers):
{{{
>>> import numpy
>>> numpy.__version__ # current master
'2.0.0.dev-Unknown'
>>> print numpy.dot.__module__
numpy.core._dotblas
>>> numpy.__file__
'Z:\\Users\\rgommers\\.wine\\drive_c\\Python25\\lib\\site-
packages\\numpy\\__init__.pyc'
}}}
I forgot to post the relevant (I think) build warnings, see below. This is
on OS X, if necessary I can do another Windows build.
{{{
gcc-4.0 -o build/scons/numpy/core/_dotblas.os -c -O2 -fno-strict-aliasing
-DNDEBUG -fomit-frame-pointer -g -Wall -Wstrict-prototypes -fPIC
-Ibuild/scons/numpy/core/src/private -Ibuild/scons/numpy/core/include
-Ibuild/scons/numpy/core -Ibuild/scons/numpy/core/include/numpy
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
-I/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6
build/scons/numpy/core/blasdot/_dotblas.c
In file included from
build/scons/numpy/core/include/numpy/ndarraytypes.h:1972,
from
build/scons/numpy/core/include/numpy/ndarrayobject.h:17,
from
build/scons/numpy/core/include/numpy/arrayobject.h:15,
from build/scons/numpy/core/blasdot/_dotblas.c:6:
build/scons/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning:
#warning "Using deprecated NumPy API, disable it by #defining
NPY_NO_DEPRECATED_API"
build/scons/numpy/core/blasdot/_dotblas.c: In function
'dotblas_matrixproduct':
build/scons/numpy/core/blasdot/_dotblas.c:239: warning: comparison of
distinct pointer types lacks a cast
build/scons/numpy/core/blasdot/_dotblas.c:257: warning: passing argument 3
of '*(PyArray_API + 1120u)' from incompatible pointer type
build/scons/numpy/core/blasdot/_dotblas.c:292: warning: passing argument 3
of '*(PyArray_API + 1120u)' from incompatible pointer type
}}}
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/2060#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list