From 32a5abb448d207f4e386af432da5b67ef500e25f Mon Sep 17 00:00:00 2001 From: ageay Date: Thu, 25 Oct 2012 13:23:33 +0000 Subject: [PATCH] ENORMOUS bug --- src/MEDLoader/MEDFileField.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2