Skip to content

Commit

Permalink
proper cross-product
Browse files Browse the repository at this point in the history
Signed-off-by: Sacha Ayoun <[email protected]>
  • Loading branch information
giltho committed Sep 11, 2024
1 parent 4b03555 commit 9f40f0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GillianCore/engine/FOLogic/Reduction.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2458,8 +2458,8 @@ let resolve_expr_to_location (pfs : PFS.t) (gamma : Type_env.t) (e : Expr.t) :
subst_for_each_lvar);
let found_substs =
List.fold_left
(fun l1 l2 -> List_utils.cross_product l1 l2 ( @ ))
subst_for_each_lvar []
(fun l1 l2 -> List_utils.cross_product l1 l2 (fun l x -> x :: l))
[ [] ] subst_for_each_lvar
in
L.tmi (fun m ->
m "found_substs: %a"
Expand Down

0 comments on commit 9f40f0a

Please sign in to comment.