Chandra-MARX / marxs

Multi-Architecture-Raytrace-Xraymission-Simulator
http://marxs.readthedocs.io/en/latest/
GNU General Public License v3.0
6 stars 9 forks source link

Test with numpy > 1.13 #176

Closed hamogu closed 6 years ago

hamogu commented 6 years ago

There is a bug in the np.einsum code in numpy 1.14 https://github.com/numpy/numpy/pull/10371 That function is used in many different places in marxs, thus I'll freeze the version for testing to 1.13 for now. Once numpy releases a bug fix, testing can continue with current numpy.

Also, numpy 1.14 changes the output format for printing numbers on the screen, so doctests will have to be updated at that point. It;s probably the easiest to drop any testing with older numpy at that point.