Commit 165d1e87 authored by berenger-bramas's avatar berenger-bramas

Remove warnings.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@450 2616d619-271b-44dc-8df4-d4a8f33a7222
parent dfbb7d72
......@@ -113,7 +113,7 @@ int main(int argc, char* argv[])
// accuracy
const unsigned int ORDER = 4;
const FReal epsilon = 1e-5;
const FReal epsilon = FReal(1e-5);
unsigned int nt1 = 0;
FReal* p1; p1 = NULL;
......
......@@ -135,7 +135,7 @@ int main(int argc, char ** argv){
const int NbLevels = FParameters::getValue(argc,argv,"-h", 5);
const int SizeSubLevels = FParameters::getValue(argc,argv,"-sh", 3);
const int NbPart = FParameters::getValue(argc,argv,"-pn", 20L);
const int NbPart = FParameters::getValue(argc,argv,"-pn", 20);
FTic counter;
//////////////////////////////////////////////////////////////////////////////////
......
......@@ -63,7 +63,7 @@ int main(int argc, char ** argv){
const int NbLevels = FParameters::getValue(argc,argv,"-h", 5);
const int SizeSubLevels = FParameters::getValue(argc,argv,"-sh", 3);
const int NbPart = FParameters::getValue(argc,argv,"-nb", 2000000);
const long DevP = FParameters::getValue(argc,argv,"-p", 5);
const int DevP = FParameters::getValue(argc,argv,"-p", 5);
const FReal FRandMax = FReal(RAND_MAX);
const F3DPosition centerOfBox = F3DPosition(0.5,0.5,0.5);
FTic counter;
......
......@@ -47,7 +47,7 @@ class TestOctree : public FUTester<TestOctree> {
for(int idxHeight = 2 ; idxHeight < 8 ; ++idxHeight){
// Compute the number of leaves for a tree of this height
const long NbSmallBoxesPerSide = (1 << (idxHeight-1));
const int NbSmallBoxesPerSide = (1 << (idxHeight-1));
const FReal SmallBoxWidth = BoxWidth / FReal(NbSmallBoxesPerSide);
const FReal SmallBoxWidthDiv2 = SmallBoxWidth / 2;
......
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