소스 검색

Merge pull request #66 from AToMPM/fix-pacman

Fix getting length of bridge in mt.
BentleyJOakes 7 년 전
부모
커밋
8a0c56736a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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: