jacopok / mlgw_bns

Accelerating gravitational wave template generation with machine learning.
GNU General Public License v3.0
4 stars 2 forks source link

`numpy.ndarray size changed, may indicate binary incompatibility. Expected 80 from C header, got 88 from PyObject` #23

Closed jacopok closed 2 years ago

jacopok commented 2 years ago

Warning given when running the tests. Maybe it has something to do with astropy being on version 4.x while numpy is on a new-ish release?

It doesn't seem to be causing any issue though...

jacopok commented 2 years ago

Commit bb325b075faa4561a8690c32ffa1e61531412ed8 shows that this is an issue with pycbc; just running import pycbc.psd reproduces the issue.

jacopok commented 2 years ago

This is probably the same problem as in #1.

jacopok commented 2 years ago

Solved by #34. It was likely due to compiled parts of pycbc using different versions of the numpy C API.