]> matita.cs.unibo.it Git - helm.git/commitdiff
Bug fix
authorMatteo Selmi <matteo.selmi@mail.polimi.it>
Wed, 17 Nov 2004 11:13:46 +0000 (11:13 +0000)
committerMatteo Selmi <matteo.selmi@mail.polimi.it>
Wed, 17 Nov 2004 11:13:46 +0000 (11:13 +0000)
helm/ocaml/metadata/metadataConstraints.ml

index 2ebd46c2a69478986d70cb2b47f4082d257dfc08..5dcfae44df4a831545956859f61ae1ad3f88e633 100644 (file)
@@ -494,7 +494,7 @@ let cmatch ~(dbd:Mysql.dbd)  ?(facts=false) t =
             else
               Some main, [0, []; types_no, types])
           else
-            prefixes (constants_no+types_no) t
+            prefixes (constants_no+types_no+1) t
         in
         (match prefixes with
            Some main, all_concl ->