Skip to content

Commit

Permalink
Fix bug with stories in app, introduced in 9cff2ad
Browse files Browse the repository at this point in the history
  • Loading branch information
antoinepouille committed Apr 26, 2024
1 parent f319133 commit 33dc1af
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions core/api/kappa_facade.ml
Original file line number Diff line number Diff line change
Expand Up @@ -242,10 +242,9 @@ let outputs (simulation : t) = function
| Data.Log s -> Format.fprintf simulation.log_form "%s@." s
| Data.Warning (pos, msg) -> Data.print_warning ?pos simulation.log_form msg
| Data.TraceStep st ->
if Buffer.length simulation.trace <> 0 then (
let () = Buffer.add_char simulation.trace ',' in
Trace.write_step simulation.trace st
)
if Buffer.length simulation.trace <> 0 then
Buffer.add_char simulation.trace ',';
Trace.write_step simulation.trace st

let interactive_outputs formatter t = function
| Data.Log s -> Format.fprintf formatter "%s@." s
Expand Down

0 comments on commit 33dc1af

Please sign in to comment.