CRPropa / CRPropa3

CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
https://crpropa.desy.de
GNU General Public License v3.0
72 stars 69 forks source link

Fixes for example test and PlaneWaveTurbulence #492

Closed JulienDoerner closed 4 months ago

JulienDoerner commented 4 months ago

Dear all,

this PR includes two small fixes:

  1. the example notebook test does not run with the new numpy 2.0.0 version. Therefore I fixed the version in the requirement file to 1.26.4
  2. The PlaneWaveTurbulence with the FastWave option uses the function std::align for which the header <memory> is not included so far.

Best, Julien

lukasmerten commented 4 months ago

Looks like an obvious fix to me. If nobody objects, I will merge this tomorrow.