aboutsummaryrefslogtreecommitdiff
path: root/vernac
diff options
context:
space:
mode:
Diffstat (limited to 'vernac')
-rw-r--r--vernac/comInductive.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/comInductive.ml b/vernac/comInductive.ml
index fbfa997555..8507ee6e2c 100644
--- a/vernac/comInductive.ml
+++ b/vernac/comInductive.ml
@@ -266,7 +266,7 @@ let inductive_levels env evd poly arities inds =
in
let minlev =
(** Indices contribute. *)
- if Indtypes.is_indices_matter () && List.length ctx > 0 then (
+ if indices_matter env && List.length ctx > 0 then (
let ilev = sign_level env evd ctx in
Univ.sup ilev minlev)
else minlev