Commit 35275db7880e2f8ec79017a20bf61ccc2462dd09

Authored by Hacene SI HADJ MOHAND
1 parent 7fe92baa

correcting process args

src/ExternLib/table_range_indexes/ProcessSumIntoTableIndexes.cc
... ... @@ -38,7 +38,7 @@ namespace Parameters {
38 38  
39 39 TimeStamp ProcessSumIntoTableIndexes::init() {
40 40 if(_attributList.size() !=7 && _attributList.size() !=4){
41   - BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_PROCESS_ERR) << AMDA::ex_msg(std::string("ProcessSumIntoTableIndexes::init required at least 4 or 6 attributes'")));
  41 + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_PROCESS_ERR) << AMDA::ex_msg(std::string("ProcessSumIntoTableIndexes::init required 4 or 6 attributes'")));
42 42 }
43 43 int relatedDim = atoi(_attributList[0].c_str());
44 44 int minIndex1 = atoi(_attributList[1].c_str());
... ...
src/ExternLib/table_range_indexes/ProcessSumIntoTableRange.cc
... ... @@ -78,8 +78,8 @@ namespace Parameters {
78 78 }
79 79  
80 80 TimeStamp ProcessSumIntoTableRange::init() {
81   - if (_attributList.size() !=6 && _attributList.size() !=4) {
82   - BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_PROCESS_ERR) << AMDA::ex_msg(std::string("ProcessSumIntoTableRange::init required at least 3 attributes'")));
  81 + if (_attributList.size() !=7 && _attributList.size() !=4) {
  82 + BOOST_THROW_EXCEPTION(AMDA::AMDA_exception() << AMDA::errno_code(AMDA_PROCESS_ERR) << AMDA::ex_msg(std::string("ProcessSumIntoTableRange::init required or 7 attributes'")));
83 83 }
84 84  
85 85 TimeStamp timeStamp = MultiParamProcess::init();
... ...