aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Corbineau2015-03-02 14:43:56 +0100
committerPierre Corbineau2015-03-02 14:43:56 +0100
commitcaf8907992fdfe655af95fa74e9c749be98c430c (patch)
tree4594566a93ca135871b14bd0659928580b2dd2ba
parentd54b326f1271c4f3dfd207030c153b3e90dcd64b (diff)
parent045b6955519e488ed15119ddf8313a81d91d95e3 (diff)
Merge branch 'trunk' of git+ssh://scm.gforge.inria.fr//gitroot/coq/coq into trunk
-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