Kaynağa Gözat

Merge pull request #66 from AToMPM/fix-pacman

Fix getting length of bridge in mt.
BentleyJOakes 7 yıl önce
ebeveyn
işleme
8a0c56736a
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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: