From: ageay Date: Thu, 2 Feb 2012 15:50:58 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V6_main_FINAL~889 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f7277188f8445c3dabf70741c49d327922b7cf09;p=tools%2Fmedcoupling.git *** empty log message *** --- diff --git a/src/MEDCoupling/MEDCouplingPointSet.cxx b/src/MEDCoupling/MEDCouplingPointSet.cxx index 9c167c851..3b7f0f55b 100644 --- a/src/MEDCoupling/MEDCouplingPointSet.cxx +++ b/src/MEDCoupling/MEDCouplingPointSet.cxx @@ -496,7 +496,7 @@ void MEDCouplingPointSet::findNodesOnLine(const double *pt, const double *vec, d if(spaceDim!=2 && spaceDim!=3) throw INTERP_KERNEL::Exception("MEDCouplingPointSet::findNodesOnLine : Invalid spacedim to be applied on this ! Must be equal to 2 or 3 !"); int nbOfNodes=getNumberOfNodes(); - int den=0.; + double den=0.; for(int i=0;iapplyLin(1.,-val); + self->applyLin(1,-val); return self; } case 2: