From 86b4b6b0956ba4c55b493a735076c95710bb3308 Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 1 Mar 2012 14:33:32 +0000 Subject: [PATCH] Warning hunting. --- src/MEDCoupling_Swig/MEDCoupling.i | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/MEDCoupling_Swig/MEDCoupling.i b/src/MEDCoupling_Swig/MEDCoupling.i index d776bf0da..bfc770e22 100644 --- a/src/MEDCoupling_Swig/MEDCoupling.i +++ b/src/MEDCoupling_Swig/MEDCoupling.i @@ -1900,7 +1900,7 @@ namespace ParaMEDMEM double *tmp=new double[nbOfTuples*nbOfElsPerTuple]; try { - fillArrayWithPyListDbl(li,tmp,nbOfTuples*nbOfElsPerTuple,0); + fillArrayWithPyListDbl(li,tmp,nbOfTuples*nbOfElsPerTuple,0.); } catch(INTERP_KERNEL::Exception& e) { @@ -3261,7 +3261,7 @@ namespace ParaMEDMEM int *tmp=new int[nbOfTuples*nbOfElsPerTuple]; try { - fillArrayWithPyListInt(li,tmp,nbOfTuples*nbOfElsPerTuple,0.); + fillArrayWithPyListInt(li,tmp,nbOfTuples*nbOfElsPerTuple,0); } catch(INTERP_KERNEL::Exception& e) { @@ -4230,7 +4230,7 @@ namespace ParaMEDMEM { case 1: { - self->applyLin(1.,-val); + self->applyLin(1,-val); return self; } case 3: -- 2.39.2