Skip to content

Commit

Permalink
fixed wrong args for fmi3 setDebugLogging
Browse files Browse the repository at this point in the history
  • Loading branch information
lausdahl committed Sep 5, 2024
1 parent 1d5f2d9 commit 84fe32b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ public void setDebugLogging(List<String> categories, boolean enableLogging) {

ALocalVariableStm callStm = newALocalVariableStm(newAVariableDeclaration(statusIdentifier, newAIntNumericPrimitiveType(), newAExpInitializer(
newACallExp(newAIdentifierExp(name), newAIdentifier(method),
Arrays.asList(newABoolLiteralExp(enableLogging), MableAstFactory.newAIntLiteralExp(categories.size()),
Arrays.asList(newABoolLiteralExp(enableLogging),
MableAstFactory.newAIdentifierExp(arrayName))))));

scope.add(arrayContent, callStm);
Expand Down

0 comments on commit 84fe32b

Please sign in to comment.