From 06b7f726382899b7db014378b3aaf774bf0ddea2 Mon Sep 17 00:00:00 2001
From: Klaus Rabbertz <klaus.rabbertz@cern.ch>
Date: Fri, 27 Sep 2024 02:35:28 +0200
Subject: [PATCH] Now reading grids with both InfoBlocks works

---
 v2.5/toolkit/fastnlotoolkit/fastNLOCoeffBase.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/v2.5/toolkit/fastnlotoolkit/fastNLOCoeffBase.cc b/v2.5/toolkit/fastnlotoolkit/fastNLOCoeffBase.cc
index 9d4c0e3e..bf3c8ec2 100644
--- a/v2.5/toolkit/fastnlotoolkit/fastNLOCoeffBase.cc
+++ b/v2.5/toolkit/fastnlotoolkit/fastNLOCoeffBase.cc
@@ -335,7 +335,7 @@ void fastNLOCoeffBase::ReadCoeffInfoBlocks(istream& table, int ITabVersionRead)
          for (unsigned int j=0; j<Description.size(); j++) {
             debug["ReadCoeffInfoBlocks"]<<"Read info block description line "<<j<<" : "<< Description[j] <<endl;
          }
-         if ( ICoeffInfoBlockFlag1[i] == 0 ) { // Entry per ObsBin
+         if (ICoeffInfoBlockFlag1[i] == 0 || ICoeffInfoBlockFlag1[i] == 1) { // Entry per ObsBin
             std::vector < double > Content;
             NCoeffInfoBlockCont.push_back(fastNLOTools::ReadFlexibleVector(Content,table));
             if ( NCoeffInfoBlockCont[i]-1 != fNObsBins ) {
-- 
GitLab