diff --git a/.github/workflows/test_examples.yml b/.github/workflows/test_examples.yml index f1edf5776..67d49fd4c 100644 --- a/.github/workflows/test_examples.yml +++ b/.github/workflows/test_examples.yml @@ -21,10 +21,9 @@ jobs: - name: Preinstall run: | sudo apt-get update - sudo apt-get install libmuparser-dev python3 python3-dev python3-numpy python3-setuptools python-setuptools libhdf5-serial-dev libomp5 libomp-dev libfftw3-dev libcfitsio-dev lcov + sudo apt-get install libmuparser-dev python3 python3-dev python3-setuptools python-setuptools libhdf5-serial-dev libomp5 libomp-dev libfftw3-dev libcfitsio-dev lcov pip3 install -r doc/pages/example_notebooks/requirements.txt # load requrements for notebooks pip3 install --upgrade Pygments - pip3 install --upgrade numpy - name: Set up the build env: CXX: ${{ matrix.config.cxx }} diff --git a/doc/pages/example_notebooks/requirements.txt b/doc/pages/example_notebooks/requirements.txt index de0d4c0fd..9c7facc62 100644 --- a/doc/pages/example_notebooks/requirements.txt +++ b/doc/pages/example_notebooks/requirements.txt @@ -1,5 +1,5 @@ # collection of all packages used in the analyis of the example notebooks. This is used for the automatic test of the notebooks -numpy +numpy==1.26.4 matplotlib pandas healpy diff --git a/src/magneticField/turbulentField/PlaneWaveTurbulence.cpp b/src/magneticField/turbulentField/PlaneWaveTurbulence.cpp index 1622e4067..47d2e46aa 100644 --- a/src/magneticField/turbulentField/PlaneWaveTurbulence.cpp +++ b/src/magneticField/turbulentField/PlaneWaveTurbulence.cpp @@ -59,6 +59,7 @@ #ifdef ENABLE_FAST_WAVES #include +#include #endif namespace crpropa {