From b119a7b68063faeed89f4be03eea8f0049af1b75 Mon Sep 17 00:00:00 2001 From: abn Date: Mon, 3 Mar 2014 12:15:35 +0100 Subject: [PATCH] Minor bug: MEDFileParameterMultiTS::getPosOfTimeStep() was improperly testing iteration/order. --- src/MEDLoader/MEDFileParameter.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDLoader/MEDFileParameter.cxx b/src/MEDLoader/MEDFileParameter.cxx index 4838bbba2..d715f1b04 100644 --- a/src/MEDLoader/MEDFileParameter.cxx +++ b/src/MEDLoader/MEDFileParameter.cxx @@ -606,7 +606,7 @@ int MEDFileParameterMultiTS::getPosOfTimeStep(int iteration, int order) const const MEDFileParameter1TS *elt(*it); if(elt) { - if(elt->getIteration()==iteration && elt->getOrder()) + if(elt->getIteration()==iteration && elt->getOrder()==order) return ret; else oss << "(" << elt->getIteration() << "," << elt->getOrder() << "), "; -- 2.39.2