diff options
| author | Bruno Barras | 2015-03-02 11:45:06 +0100 |
|---|---|---|
| committer | Bruno Barras | 2015-03-02 11:45:06 +0100 |
| commit | 045b6955519e488ed15119ddf8313a81d91d95e3 (patch) | |
| tree | d817936080aa4a4b5cb02fb5a6a19b36e32be3ba | |
| parent | ed9d3351cbcfae19db963903493f7669394a1fd3 (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 |
