aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Barras2015-03-02 11:45:06 +0100
committerBruno Barras2015-03-02 11:45:06 +0100
commit045b6955519e488ed15119ddf8313a81d91d95e3 (patch)
treed817936080aa4a4b5cb02fb5a6a19b36e32be3ba
parented9d3351cbcfae19db963903493f7669394a1fd3 (diff)
Now accepting unit props in mutual definitions
-rw-r--r--checker/indtypes.ml1
1 files changed, 0 insertions, 1 deletions
diff --git a/checker/indtypes.ml b/checker/indtypes.ml
index 2ce9f038a0..050c33e603 100644
--- a/checker/indtypes.ml
+++ b/checker/indtypes.ml
@@ -230,7 +230,6 @@ let compute_elim_sorts env_ar params mib arity lc =
let infos = Array.map (sorts_of_constr_args env_params) lc in
let (small,unit) = small_unit infos in
(* We accept recursive unit types... *)
- let unit = unit && mib.mind_ntypes = 1 in
(* compute the max of the sorts of the products of the constructor type *)
let level = max_inductive_sort
(Array.concat (Array.to_list (Array.map Array.of_list infos))) in