From 105383684ec6f14ed11c399c0dd8f091e15ce4f1 Mon Sep 17 00:00:00 2001 From: Oliver Hahn Date: Tue, 14 May 2019 16:33:18 +0200 Subject: [PATCH] removing some pedantic warnings --- include/general.hh | 2 +- src/plugins/transfer_eisenstein.cc | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/general.hh b/include/general.hh index 723dc05..411a190 100644 --- a/include/general.hh +++ b/include/general.hh @@ -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 diff --git a/src/plugins/transfer_eisenstein.cc b/src/plugins/transfer_eisenstein.cc index 1868e4a..dc905f9 100644 --- a/src/plugins/transfer_eisenstein.cc +++ b/src/plugins/transfer_eisenstein.cc @@ -36,13 +36,13 @@ struct eisenstein_transfer alpha_gamma; /* Gamma suppression in approximate TF */ template - inline T SQR(T x) { return x * x; }; + inline T SQR(T x) { return x * x; } template - inline T CUBE(T x) { return x * SQR(x); }; + inline T CUBE(T x) { return x * SQR(x); } template - 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)