]> matita.cs.unibo.it Git - helm.git/commitdiff
better check for progress
authorEnrico Tassi <enrico.tassi@inria.fr>
Tue, 1 Apr 2008 19:07:11 +0000 (19:07 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Tue, 1 Apr 2008 19:07:11 +0000 (19:07 +0000)
helm/software/components/tactics/tacticals.ml

index 6e91de1fcd4194e02322dcce88598dd63cbe1370..4a4f150b7bf3e27eb6d7beacdc50df2d84c4d82e 100644 (file)
@@ -296,9 +296,9 @@ let progress_tactic ~tactic =
     in
     match opened with
     | [g1] ->
-        let _,_,oldty = CicUtil.lookup_meta g metasenv in
-        let _,_,newty = CicUtil.lookup_meta g1 metasenv' in
-        if oldty = newty then
+        let _,oc,oldty = CicUtil.lookup_meta g metasenv in
+        let _,nc,newty = CicUtil.lookup_meta g1 metasenv' in
+        if oldty = newty && oc = nc then
           raise (PET.Fail msg)
         else
           ostatus