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:
parent
a8a0df08b2
commit
105383684e
2 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue