From f7277188f8445c3dabf70741c49d327922b7cf09 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 2 Feb 2012 15:50:58 +0000 Subject: [PATCH] *** empty log message *** --- src/MEDCoupling/MEDCouplingPointSet.cxx | 2 +- src/MEDCoupling_Swig/MEDCoupling.i | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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: -- 2.39.2