further changes/corrections
This commit is contained in:
parent
184bff2e6b
commit
68fbc5f51b
@ -75,7 +75,7 @@ namespace {
|
||||
{cmp_enum::LESS, 1},
|
||||
{cmp_enum::GREATER_EQUAL, 0},
|
||||
{cmp_enum::LESS_EQUAL, 1},
|
||||
{cmp_enum::EQUAL, 1},
|
||||
{cmp_enum::EQUAL, 0},
|
||||
{cmp_enum::INVALID, 0},
|
||||
};
|
||||
|
||||
@ -400,10 +400,12 @@ const std::map<cmp_enum, int> cmpToIndex = {
|
||||
}
|
||||
|
||||
/*item[12] - index for relational operator (<, =, > )
|
||||
0 - for LHS quantity greater RHS quantity
|
||||
1 - for LHS quantity less than or equal to RHS quantity
|
||||
1 - for LHS quantity of first condition greater RHS quantity
|
||||
0 - for LHS quantity of first condition less than RHS quantity
|
||||
0 - for LHS quantity of first condition equal to RHS quantity
|
||||
*/
|
||||
const auto it_lhs_it = cmpToIacn_12.find(cond.cmp);
|
||||
const auto& first_cond = actx_cond.begin();
|
||||
const auto it_lhs_it = cmpToIacn_12.find(first_cond->cmp);
|
||||
if (it_lhs_it != cmpToIacn_12.end()) {
|
||||
iAcn[ind + 12] = it_lhs_it->second;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user