diff --git a/graphdepend.mlg b/graphdepend.mlg index 053a513ee..6e6fa20db 100644 --- a/graphdepend.mlg +++ b/graphdepend.mlg @@ -26,12 +26,12 @@ let filename = ref "graph.dpd" let get_dirlist_grefs dirlist = let selected_gref = ref [] in - let select gref kind env constr = - if Search.module_filter (SearchInside dirlist) gref kind env (Evd.from_env env) constr then + let select gref kind env sigma constr = + if Search.module_filter (SearchInside dirlist) gref kind env sigma constr then (debug (str "Select " ++ Printer.pr_global gref); selected_gref := gref::!selected_gref) in - Search.generic_search (Global.env()) select; + Search.generic_search (Global.env()) (Evd.from_env (Global.env())) select; !selected_gref let is_prop gref id =