File tree Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Expand file tree Collapse file tree 3 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 19
19
uses : actions/checkout@v4
20
20
- name : Preinstall
21
21
run : |
22
- brew install hdf5 fftw cfitsio muparser libomp swig
23
- pip install numpy==1.26
22
+ brew install hdf5 fftw cfitsio muparser libomp swig python3
23
+ pip install numpy==1.26.4 cmake
24
24
- name : Set up the build
25
25
env :
26
26
CXX : ${{ matrix.config.cxx }}
Original file line number Diff line number Diff line change 1
1
#ifndef CRPROPA_MODULE_LIST_H
2
2
#define CRPROPA_MODULE_LIST_H
3
3
4
+ #include < algorithm>
5
+ #include < csignal>
6
+ #include < iostream>
7
+ #include < vector>
8
+ #include < exception>
9
+ #include < sstream>
10
+ #include < list>
11
+
4
12
#include " crpropa/Candidate.h"
5
13
#include " crpropa/Module.h"
6
14
#include " crpropa/Source.h"
7
15
#include " crpropa/module/Output.h"
8
16
9
- #include < list>
10
- #include < sstream>
11
17
12
18
namespace crpropa {
13
19
Original file line number Diff line number Diff line change 1
1
#include "crpropa/ModuleList.h"
2
2
#include "crpropa/ProgressBar.h"
3
3
4
- #if _OPENMP
5
- #include <omp.h>
6
- #define OMP_SCHEDULE @OMP_SCHEDULE@
7
- #endif
8
-
9
- #include <algorithm>
10
- #include <csignal>
11
- #include <bits/stdc++.h>
12
4
#ifndef sighandler_t
13
5
typedef void (*sighandler_t)(int);
14
6
#endif
7
+ #ifdef _OPENMP
8
+ #include <omp.h>
9
+ #define OMP_SCHEDULE @OMP_SCHEDULE@
10
+ #endif
15
11
16
12
using namespace std;
17
13
You can’t perform that action at this time.
0 commit comments