Skip to content

Commit

Permalink
Fixed the infinite loop.
Browse files Browse the repository at this point in the history
  • Loading branch information
sharwan committed Jun 9, 2021
1 parent b7ec027 commit 9f9f68d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ public static Q getFunctionInvocations(Q functions) {
public static AtlasSet<Node> getFunctionInvocations(AtlasSet<Node> functions) {
AtlasSet<Node> invocations = new AtlasHashSet<Node>();
for(@SuppressWarnings("unused") Node function : functions){
invocations.add(getFunctionInvocations(functions));
}
invocations.addAll(getFunctionInvocations(function)); }
return invocations;
}

Expand Down

0 comments on commit 9f9f68d

Please sign in to comment.