]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Warning hunting.
authorageay <ageay>
Thu, 1 Mar 2012 14:33:32 +0000 (14:33 +0000)
committerageay <ageay>
Thu, 1 Mar 2012 14:33:32 +0000 (14:33 +0000)
src/MEDCoupling_Swig/MEDCoupling.i

index d776bf0da98c40b2437fbc26489e3db49fa01781..bfc770e221c210aeab2eb301b13bca831bd2ba13 100644 (file)
@@ -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: