Skip to content

Commit da61756

Browse files
committed
Fix insufficient domains: convert terminal -> iterated in get_proj_equations
1 parent 58a2a7f commit da61756

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/row.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,9 @@ let%debug4_sexp get_proj_equations (inequalities : constraint_ list) proj_axis_e
16881688
| Proj_eq (proj1, (Proj (_, { d = 1; _ }) as proj2)) ->
16891689
[ Iterated proj1; Proj_eq (proj2, Solved (Fixed_idx 0)) ]
16901690
| eq -> [ eq ])
1691-
| Dim_constr _ | Row_constr _ | Terminal_dim _ | Terminal_row _ -> []
1691+
| Terminal_dim d -> [ Iterated (to_proj d) ]
1692+
| Terminal_row { dims; _ } -> List.map ~f:(fun d -> Iterated (to_proj d)) dims
1693+
| Dim_constr _ | Row_constr _ -> []
16921694
in
16931695
List.concat_map inequalities ~f
16941696

0 commit comments

Comments
 (0)