From 7bad2a2caeeafdc05ec0d768b17bd6d7a7e3acd0 Mon Sep 17 00:00:00 2001 From: Bruno Barras Date: Mon, 2 Mar 2015 11:45:06 +0100 Subject: Now accepting unit props in mutual definitions --- checker/indtypes.ml | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.2.3