Explorar o código

Merge pull request #66 from AToMPM/fix-pacman

Fix getting length of bridge in mt.
BentleyJOakes %!s(int64=7) %!d(string=hai) anos
pai
achega
8a0c56736a
Modificáronse 1 ficheiros con 1 adicións e 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: