Skip to content

Commit fad188d

Browse files
committed
fmt
1 parent ad4607a commit fad188d

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/lsc/lsc_ast.ml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -440,11 +440,13 @@ let search_partners ~linear ~showtrace (selected_ray, other_rays, bans) actions
440440
(selected_action, other_actions)
441441
(selected_ray, other_rays, bans)
442442
in
443-
if not @@ List.is_empty res && linear then
443+
if (not @@ List.is_empty res) && linear then
444444
let* next, new_actions = try_actions acc other_actions in
445445
Ok (res @ next, new_actions)
446446
else
447-
let* next, new_actions = try_actions (selected_action :: acc) other_actions in
447+
let* next, new_actions =
448+
try_actions (selected_action :: acc) other_actions
449+
in
448450
Ok (res @ next, new_actions)
449451
in
450452
try_actions [] actions

src/stellogen/sgen_eval.ml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ let rec map_galaxy env ~f : galaxy -> (galaxy, err) Result.t = function
3131
in
3232
Galaxy g' |> Result.return
3333

34-
and map_galaxy_expr env ~f : galaxy_expr -> (galaxy_expr, err) Result.t = function
34+
and map_galaxy_expr env ~f : galaxy_expr -> (galaxy_expr, err) Result.t =
35+
function
3536
| Raw g ->
3637
let* map_g = map_galaxy env ~f g in
3738
Raw map_g |> Result.return

0 commit comments

Comments
 (0)