From: ana Date: Thu, 14 Oct 2010 07:15:20 +0000 (+0000) Subject: Win32 compatibility X-Git-Tag: V5_1_5rc1~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bdbf6c594292fd05fae10f94ec8d350199e981d1;p=modules%2Fsmesh.git Win32 compatibility --- diff --git a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx index f8a32c78f..0214fa10e 100644 --- a/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx +++ b/src/StdMeshers/StdMeshers_Quadrangle_2D.cxx @@ -2190,7 +2190,7 @@ bool StdMeshers_Quadrangle_2D::ComputeReduced (SMESH_Mesh & aMesh, // maximum number of bottom elements for "linear" simple reduce //int max_lin = ncol_top + npair_top * 2 * nrows; // maximum number of bottom elements for "tree" simple reduce - int max_tree = npair_top * pow(2, nrows + 1); + int max_tree = npair_top * pow(2.0, nrows + 1); if (ncol_top > npair_top * 2) { int delta = ncol_bot - max_tree; for (int irow = 1; irow < nrows; irow++) {