From: adam Date: Mon, 25 May 2009 14:56:04 +0000 (+0000) Subject: windows port X-Git-Tag: V5_1_main_FINAL~387 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8c5aa9d4df029a3901a311be6bc6cc4a6fbb7b7a;p=tools%2Fmedcoupling.git windows port --- diff --git a/src/MEDCoupling/MEDCouplingPointSet.cxx b/src/MEDCoupling/MEDCouplingPointSet.cxx index d4b975eab..3a2876ae7 100644 --- a/src/MEDCoupling/MEDCouplingPointSet.cxx +++ b/src/MEDCoupling/MEDCouplingPointSet.cxx @@ -234,7 +234,7 @@ void MEDCouplingPointSet::unserialization(const std::vector& tinyInfo, Data // ============================================= bool MEDCouplingPointSet::intersectsBoundingBox(const double* bb1, const double* bb2, int dim, double eps) { - double bbtemp[2*dim]; + double* bbtemp = new double[2*dim]; double deltamax=0.0; for (int i=0; i< dim; i++) @@ -256,8 +256,12 @@ bool MEDCouplingPointSet::intersectsBoundingBox(const double* bb1, const double* bool intersects = (bbtemp[idim*2]