Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lhstrh committed Nov 10, 2023
1 parent 67ee7d8 commit 6ab1a7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/java/org/lflang/generator/c/CGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ private void generateStartTimeStep(ReactorInstance instance) {

temp.pr("// Add port " + port.getFullName() + " to array of is_present fields.");

if (port.getParent().equals(instance)) {
if (!port.getParent().equals(instance)) {
// The port belongs to contained reactor, so we also have
// iterate over the instance bank members.
temp.startScopedBlock();
Expand Down

0 comments on commit 6ab1a7d

Please sign in to comment.