Skip to content

Commit

Permalink
Merge pull request #1056 from alainmarcel/alainmarcel-patch-1
Browse files Browse the repository at this point in the history
packed_array_var fix
  • Loading branch information
alaindargelas authored Dec 3, 2023
2 parents 2caa982 + 2515479 commit 7b8baa3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion templates/ExprEval.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4296,7 +4296,8 @@ expr *ExprEval::reduceExpr(const any *result, bool &invalidValue,
any *elem = elems->at(index_val);
if (elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmenum_var ||
elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmstruct_var ||
elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmunion_var) {
elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmunion_var ||
elem->UhdmType() == UHDM_OBJECT_TYPE::uhdmlogic_var) {
} else {
result = elems->at(index_val);
}
Expand Down

0 comments on commit 7b8baa3

Please sign in to comment.