소스 검색

yentl told me to do stuff... fixed a bug where non-determinism at the same level during parent-child conflict resolution crashed the model

Simon Van Mierlo 7 년 전
부모
커밋
bdf6604c16
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/python_sccd/python_sccd_runtime/statecharts_core.py

+ 1 - 1
src/python_sccd/python_sccd_runtime/statecharts_core.py

@@ -1093,7 +1093,7 @@ class RuntimeClassBase(object):
             elif y.source in x.source.ancestors:
                 return -1
             else:
-                raise Exception('These items have no relation with each other.')
+                return 0
                 
         if self.small_step.has_stepped:
             self.small_step.next()