浏览代码

Fix getting length of bridge in mt.

Bentley James Oakes 6 年之前
父节点
当前提交
4b01b6d83a
共有 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: