Commit a5f9c745 authored by berenger-bramas's avatar berenger-bramas

Removed two comilation warnings from intel compiler.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/scalfmm/scalfmm/trunk@309 2616d619-271b-44dc-8df4-d4a8f33a7222
parent 7f187550
......@@ -294,7 +294,7 @@ private:
if( child[idxChild] && getWorkingInterval((idxLevel+1), idProcess).min <= child[idxChild]->getMortonIndex() ){
child[idxChild]->serializeUp(&sendBuffer[idxBuff]);
idxBuff += CellClass::SerializedSizeUp;
state |= char(0x1 << idxChild);
state |= char(0x1 << char(idxChild));
}
}
sendBuffer[0] = state;
......
......@@ -444,7 +444,7 @@ private:
// n from 0 to P
for(int n = 0 ; n <= devP ; ++n ){
// l<0 // (-1)^l
FReal pow_of_minus_1_for_l = ( n & 1 ? -1.0 : 1.0);
FReal pow_of_minus_1_for_l = ( n & 1 ? FReal(-1.0) : FReal(1.0) );
// O_n^l : here points on the source multipole expansion term of degree n and order |l|
const int index_n = harmonic.getPreExpRedirJ(n);
......
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