diff options
| author | Bruno Barras | 2015-03-02 11:45:06 +0100 |
|---|---|---|
| committer | Bruno Barras | 2015-03-02 11:48:09 +0100 |
| commit | 7bad2a2caeeafdc05ec0d768b17bd6d7a7e3acd0 (patch) | |
| tree | 3d94f2d95d628f53757b0858e50b73ea2f0d34c6 | |
| parent | 73f04b525ef4283dfa999fbf2b00860b35be5a92 (diff) | |
Now accepting unit props in mutual definitions
| -rw-r--r-- | checker/indtypes.ml | 1 |
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 |
