Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alaindargelas committed Sep 12, 2023
1 parent 6d63482 commit efe4d0f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/DesignCompile/CompileHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3200,8 +3200,7 @@ UHDM::any* CompileHelper::defaultPatternAssignment(const UHDM::typespec* tps,
adjustUnsized(c, ncsize);
c->VpiSize(ncsize);
} else {
if (ncsize < c->VpiSize())
c->VpiSize(ncsize);
if (ncsize < c->VpiSize()) c->VpiSize(ncsize);
}
if (r) {
bool invalidValue = false;
Expand Down

0 comments on commit efe4d0f

Please sign in to comment.