Skip to content

Commit

Permalink
Minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplisticCode committed Dec 11, 2023
1 parent fb8357c commit 4600ce8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public VerificationResult verifyAlgorithm(@RequestBody String masterModelAsStrin
MasterModel masterModel = ScenarioLoader.load(new ByteArrayInputStream(masterModelAsString.getBytes()));

ModelEncoding encoding = new ModelEncoding(masterModel);
String encodedModel = ScenarioGenerator.generate(encoding);
String encodedModel = ScenarioGenerator.generateUppaalEncoding(encoding);
File tempFile = Files.createTempFile(null, ".xml").toFile();
try (Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(tempFile), StandardCharsets.UTF_8))) {
writer.write(encodedModel);
Expand Down

0 comments on commit 4600ce8

Please sign in to comment.