Changed powf to pow. (For Solaris)
authorKent Mein <mein@cs.umn.edu>
Mon, 21 Nov 2005 18:03:42 +0000 (18:03 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 21 Nov 2005 18:03:42 +0000 (18:03 +0000)
Kent

intern/elbeem/intern/solver_init.cpp

index 99db4bc433fcc5ed4f3a1899e0f7839fed021bc0..8d3cc34808cf04c00aa1707e6fbab13135f56d25 100644 (file)
@@ -305,7 +305,7 @@ LbmFsgrSolver<D>::initialize( ntlTree* /*tree*/, vector<ntlGeometryObject*>* /*o
        for(int i=0; i<maskBits; i++) { sizeMask |= (1<<i); }
 
        // at least size 4 on coarsest level
-       int minSize = (int)powf(2.0, maskBits+2.0);
+       int minSize = (int)pow(2.0, maskBits+2.0);
        if(D::mSizex<minSize) D::mSizex = minSize;
        if(D::mSizey<minSize) D::mSizey = minSize;
        if(D::mSizez<minSize) D::mSizez = minSize;