Commit 170a086e authored by COULAUD Olivier's avatar COULAUD Olivier

Remove warnings

parent 40d4769b
......@@ -7,7 +7,7 @@
#ifdef __SSSE3__
#include <tmmintrin.h> //SSSE3
#endif
#ifdef __SSSE4.1__
#ifdef __SSSE4_1__
#include <smmintrin.h> // SSE4
#endif
......
......@@ -535,7 +535,7 @@ int main(int argc, char ** argv){
printf("FmmEwald InfNorm %e\n",fz.getRelativeInfNorm());
//
double L2error = (fx.getL2Norm()*fx.getL2Norm() + fy.getL2Norm()*fy.getL2Norm() + fz.getL2Norm() *fz.getL2Norm() );
printf("FmmEwald RMS Force Error= %e\n",FMath::Sqrt(L2error/loader->getNumberOfParticles())) ;
printf("FmmEwald RMS Force Error= %e\n",FMath::Sqrt(L2error/static_cast<double>(loader->getNumberOfParticles()))) ;
//
printf("FmmEwald Energy FMM= %.12e\n",energy);
printf("FmmEwald Energy EWALD= %.12e\n",loader->getEnergy());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment