From: ageay Date: Thu, 25 Oct 2012 13:23:33 +0000 (+0000) Subject: ENORMOUS bug X-Git-Tag: V6_6_0b1~34 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=32a5abb448d207f4e386af432da5b67ef500e25f;p=tools%2Fmedcoupling.git ENORMOUS bug --- diff --git a/src/MEDLoader/MEDFileField.cxx b/src/MEDLoader/MEDFileField.cxx index cf851c2e9..e24fb86d2 100644 --- a/src/MEDLoader/MEDFileField.cxx +++ b/src/MEDLoader/MEDFileField.cxx @@ -4220,7 +4220,7 @@ try:_name("") med_field_type typcha; int nbstep2=-1; // - int ncomp=MEDfieldnComponent(fid,1); + int ncomp=MEDfieldnComponent(fid,fieldId+1); INTERP_KERNEL::AutoPtr comp=MEDLoaderBase::buildEmptyString(ncomp*MED_SNAME_SIZE); INTERP_KERNEL::AutoPtr unit=MEDLoaderBase::buildEmptyString(ncomp*MED_SNAME_SIZE); INTERP_KERNEL::AutoPtr dtunit=MEDLoaderBase::buildEmptyString(MED_LNAME_SIZE);