]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
For the moment desactivate it !
authorageay <ageay>
Wed, 10 Jul 2013 15:27:31 +0000 (15:27 +0000)
committerageay <ageay>
Wed, 10 Jul 2013 15:27:31 +0000 (15:27 +0000)
src/MEDLoader/MEDFileField.cxx

index 67f4f51ba28bc3ac9ef623789442553f7c9307e2..f70338e50ca92ad7600e383c81ed0cbebec1cc6f 100644 (file)
@@ -4267,12 +4267,12 @@ void MEDFileAnyTypeField1TSWithoutSDA::setFieldProfile(const MEDCouplingFieldDou
       std::vector< MEDCouplingAutoRefCountObjectPtr<DataArrayInt> > idsInPflPerType2(idsInPflPerType.size()); std::copy(idsInPflPerType.begin(),idsInPflPerType.end(),idsInPflPerType2.begin());
       std::vector< MEDCouplingAutoRefCountObjectPtr<DataArrayInt> > idsPerType2(idsPerType.size()); std::copy(idsPerType.begin(),idsPerType.end(),idsPerType2.begin()); 
       std::vector<const DataArrayInt *> idsPerType3(idsPerType.size()); std::copy(idsPerType.begin(),idsPerType.end(),idsPerType3.begin()); 
-      int nbOfTuplesExp=field->getNumberOfTuplesExpectedRegardingCode(code,idsPerType3);
-      if(nbOfTuplesExp!=arrOfVals->getNumberOfTuples())
+      //int nbOfTuplesExp=field->getNumberOfTuplesExpectedRegardingCode(code,idsPerType3);
+      /*if(nbOfTuplesExp!=arrOfVals->getNumberOfTuples())
         {
           std::ostringstream oss; oss << "MEDFileAnyTypeField1TSWithoutSDA::setFieldProfile : The array is expected to have " << nbOfTuplesExp << " tuples ! It has " << arrOfVals->getNumberOfTuples() << " !";
           throw INTERP_KERNEL::Exception(oss.str().c_str());
-        }
+          }*/
       int start=copyTinyInfoFrom(field,arrOfVals);
       code2=m->getDistributionOfTypes();
       //