aboutsummaryrefslogtreecommitdiffhomepage
path: root/pretyping/retyping.ml
diff options
context:
space:
mode:
Diffstat (limited to 'pretyping/retyping.ml')
-rw-r--r--pretyping/retyping.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pretyping/retyping.ml b/pretyping/retyping.ml
index b16cf75f5..89ad9ee68 100644
--- a/pretyping/retyping.ml
+++ b/pretyping/retyping.ml
@@ -244,6 +244,6 @@ let sorts_of_context env evc ctxt =
let expand_projection env sigma pr c args =
let ty = get_type_of env sigma c in
- let (i,u), ind_args = Inductive.find_rectype env ty in
+ let (i,u), ind_args = Inductiveops.find_mrectype env sigma ty in
mkApp (mkConstU (Projection.constant pr,u),
Array.of_list (ind_args @ (c :: args)))