From 030f9b4629e924ee5655c1f11665d2a907e0ecfd Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 27 Sep 2016 17:26:36 +0300 Subject: [PATCH] 23223: [CEA 1710] regression - bug CEA 983 - case2med --- src/MEDLoader/Swig/CaseReader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDLoader/Swig/CaseReader.py b/src/MEDLoader/Swig/CaseReader.py index 336cdfc88..ea266d3fc 100644 --- a/src/MEDLoader/Swig/CaseReader.py +++ b/src/MEDLoader/Swig/CaseReader.py @@ -273,7 +273,7 @@ class CaseReader(CaseIO): fdisc=MEDCouplingFieldDiscretization.New(self.discSpatial2[discr]) meshId=np.memmap(fd,dtype='int32',mode='r',offset=int(pos),shape=(1)).tolist()[0]-1 if meshId >= len( mcmeshes ): - continue + return nbOfValues=fdisc.getNumberOfTuples(mcmeshes[meshId]) vals2=DataArrayDouble(nbOfValues,nbCompo) fd.seek(pos+4) -- 2.39.2