aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-06-13 19:58:52 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2011-06-13 19:58:52 +0000
commite56b4c209bf3c27f72f22457682aaaa83eb3c2e9 (patch)
treec92a137b9fe0bac6fa5dde69212597c3314667ad /toplevel
parent41e9068a35523e66c834f3b226af2d22e97b3d2f (diff)
Fixing an anomaly in Scheme Induction.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14193 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
-rw-r--r--toplevel/indschemes.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/indschemes.ml b/toplevel/indschemes.ml
index dc127db0c..901731530 100644
--- a/toplevel/indschemes.ml
+++ b/toplevel/indschemes.ml
@@ -291,7 +291,7 @@ requested
let l1,l2 = split_scheme q in
let names inds recs x y z =
let ind = smart_global_inductive y in
- let sort_of_ind = Retyping.get_sort_family_of env Evd.empty (mkInd ind) in
+ let sort_of_ind = inductive_sort_family (snd (lookup_mind_specif env ind)) in
let z' = family_of_sort (interp_sort z) in
let suffix = (
match sort_of_ind with