Comments (8)
The highs one is known, see gh-19734. I believe @steppi is intending to circle back to any new warnings from special
at some point.
from scipy.
The following warning seems to reveal that a
}
is missing due to misleading indentation:
I see, it does look like there's a missing bracket in the final if block of hy1f1a
. I think this was just copied verbatim from the original cephes code, which probably had this same issue. Actually it looks like I introduced this one. In any case I'll submit a PR with a fix.
from scipy.
@lucascolley Sorry about early closure. Feel free to update the task list in the original post to leverage on GitHub’s task tracking GUI.
from scipy.
I also see
[47/1383] Generating symbol file scipy/special/libsf_error_state.dylib.p/libsf_error_state.dylib.symbols
WARNING: ['arm64-apple-darwin20.0.0-nm'] does not work. Relinking will always happen on source changes.
error: arm64-apple-darwin20.0.0-nm: invalid argument --
Usage: arm64-apple-darwin20.0.0-nm [-agnopruUmxjlfAPL[s segname sectname] [-] [-t format] [[-arch <arch_flag>] ...] [file ...]
...
[70/1383] Compiling C++ object scipy/special/_gufuncs.cpython-310-darwin.so.p/_gufuncs.cpp.o
...
In file included from ../scipy/special/_gufuncs.cpp:1:
../scipy/special/_gufuncs.cpp:57:5: warning: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Wc99-designator]
.m_name = "_gufuncs",
^~~~~~~~~~~~~~~~~~~~
../scipy/special/_gufuncs.cpp:56:5: note: first non-designated initializer is here
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
/Users/lucascolley/mambaforge/envs/scipy-dev/include/python3.10/moduleobject.h:51:31: note: expanded from macro 'PyModuleDef_HEAD_INIT'
#define PyModuleDef_HEAD_INIT { \
^~~
from scipy.
@steppi I can make a PR for the first warning if you want. It’s an easy fix, though the code will not look pretty as import_array
and import_umath
are macros with a return
statement in it.
from scipy.
@steppi I can make a PR for the first warning if you want. It’s an easy fix, though the code will not look pretty as
import_array
andimport_umath
are macros with areturn
statement in it.
Thanks @fancidev, that would be great.
from scipy.
Actually it is already fixed by @rgommers !
from scipy.
this is not actually done quite yet, remaining warnings for me locally:
- 1:
[48/1383] Generating symbol file scipy/special/libsf_error_state.dylib.p/libsf_error_state.dylib.symbols
WARNING: ['arm64-apple-darwin20.0.0-nm'] does not work. Relinking will always happen on source changes.
error: arm64-apple-darwin20.0.0-nm: invalid argument --
Usage: arm64-apple-darwin20.0.0-nm [-agnopruUmxjlfAPL[s segname sectname] [-] [-t format] [[-arch <arch_flag>] ...] [file ...]
- 2:
[71/1383] Compiling C++ object scipy/special/_gufuncs.cpython-310-darwin.so.p/_gufuncs.cpp.o
../scipy/special/_gufuncs.cpp:57:5: warning: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Wc99-designator]
.m_name = "_gufuncs",
^~~~~~~~~~~~~~~~~~~~
../scipy/special/_gufuncs.cpp:56:5: note: first non-designated initializer is here
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
/Users/lucascolley/mambaforge/envs/scipy-dev/include/python3.10/moduleobject.h:51:31: note: expanded from macro 'PyModuleDef_HEAD_INIT'
#define PyModuleDef_HEAD_INIT { \
^~~
1 warning generated.
- 3:
[90/1383] Compiling C++ object scipy/special/_special_ufuncs.cpython-310-darwin.so.p/_special_ufuncs.cpp.o
../scipy/special/_special_ufuncs.cpp:210:5: warning: mixture of designated and non-designated initializers in the same initializer list is a C99 extension [-Wc99-designator]
.m_name = "_special_ufuncs",
^~~~~~~~~~~~~~~~~~~~~~~~~~~
../scipy/special/_special_ufuncs.cpp:209:5: note: first non-designated initializer is here
PyModuleDef_HEAD_INIT,
^~~~~~~~~~~~~~~~~~~~~
/Users/lucascolley/mambaforge/envs/scipy-dev/include/python3.10/moduleobject.h:51:31: note: expanded from macro 'PyModuleDef_HEAD_INIT'
#define PyModuleDef_HEAD_INIT { \
^~~
1 warning generated.
from scipy.
Related Issues (20)
- DOC: update testing docs for alternative backends HOT 5
- ENH: sparse.csr_matrix: parallelize dot product HOT 2
- BUG: signal.iirfilter: returns NaNs
- MAINT/DEV: improve command line clarity of `dev.py` HOT 1
- DOC: stats.bootstrap: improve documentation multidimensional input HOT 14
- BUG: Library not loaded: @rpath/libgfortran.5.dylib for scipy v1.14.0rc1 x86 macos wheels HOT 21
- TYP: `_lib.doccer`: add type annotations HOT 2
- BUG/BLD: scipy-1.13.1 fails to build with msvc HOT 2
- BUG: sparse.csgraph: Test failures with sparse 0.15.1 installed. HOT 10
- DOC/BLD: Build uses python3 from wrong env HOT 2
- CI: adding a Windows CI job with MSVC + MKL + Intel Fortran (ifx) HOT 1
- MAINT: clean up `sparse._sputils.getdtype` HOT 1
- ENH: `ndimage.map_coordinates`: avoid array copy for big endian data HOT 4
- BUG: `interpolate.BSpline.basis_element` differs from `BSpline` on the last spline HOT 1
- BUG: scipy.optimize.curve_fit full_output and boundaries incompatible HOT 1
- DOC/DEV: Developer docs should mention Accelerate support HOT 5
- BUG: stats.kstest: units stripped from `astropy.unit.Quantity` objects starting with 1.12.0 HOT 1
- BUG: `zsh: abort python` after `scipy.linalg.sqrtm` on empty `np.array` on M1 Macbook via conda HOT 1
- BUG: special.lpmv(0,v,-1) returns incorrect value for non-integer v
- ENH: integrate: evaluate simultaneously a function and its jacobian for ODE integration HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scipy.