Explorar el Código

Merge pull request #66 from AToMPM/fix-pacman

Fix getting length of bridge in mt.
BentleyJOakes hace 7 años
padre
commit
8a0c56736a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      mt/ptcal/pytcore/core/himesis.py

+ 1 - 1
mt/ptcal/pytcore/core/himesis.py

@@ -253,7 +253,7 @@ class HimesisPreConditionPatternLHS(HimesisPreConditionPattern):
         unbound = []
         for nac in NACs:
             nac.LHS = self
-            nac.bridge_size = nac.compute_bridge()
+            nac.bridge_size = nac.compute_bridge().vcount()
             if nac.bridge_size > 0:
                 bound.append(nac)
             else: