Skip to content

Commit c24aab5

Browse files
committed
Add Manifold to dim checking
1 parent 6dc3a2a commit c24aab5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/dim.ml

+3-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ let rec check ~loc dim = function
7575
| [%type: ([ `D3 ], OCADml.V3.t, OCADml.V3.t, OCADml.Affine3.t) OSCADml.Scad.t]
7676
| [%type: ([ `D3 ], OCADml.v3, OCADml.v3, OCADml.Affine3.t) OSCADml.Scad.t]
7777
| [%type: Scad.d3]
78-
| [%type: OSCADml.Scad.d3] ->
78+
| [%type: OSCADml.Scad.d3]
79+
| [%type: Manifold.t]
80+
| [%type: OManifold.Manifold.t] ->
7981
( match dim with
8082
| Some D2 -> Error MixedDimensions
8183
| Some (Poly _) -> Error PolyCollapse

0 commit comments

Comments
 (0)