1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

removing some pedantic warnings

This commit is contained in:
Oliver Hahn 2019-05-14 16:33:18 +02:00
parent a8a0df08b2
commit 105383684e
2 changed files with 4 additions and 4 deletions

View file

@ -112,4 +112,4 @@ extern int MPI_task_size;
extern bool MPI_ok;
extern bool MPI_threads_ok;
extern bool FFTW_threads_ok;
}; // namespace CONFIG
} // namespace CONFIG

View file

@ -36,13 +36,13 @@ struct eisenstein_transfer
alpha_gamma; /* Gamma suppression in approximate TF */
template <typename T>
inline T SQR(T x) { return x * x; };
inline T SQR(T x) { return x * x; }
template <typename T>
inline T CUBE(T x) { return x * SQR(x); };
inline T CUBE(T x) { return x * SQR(x); }
template<typename T>
inline T POW4( T x ){ return SQR(SQR(x)); };
inline T POW4( T x ){ return SQR(SQR(x)); }
//! private member function: sets internal quantities for Eisenstein & Hu fitting
void TFset_parameters(double omega0hh, double f_baryon, double Tcmb)