Browse Source

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 years ago
parent
commit
bdf6604c16
1 changed files with 1 additions and 1 deletions
  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:
             elif y.source in x.source.ancestors:
                 return -1
                 return -1
             else:
             else:
-                raise Exception('These items have no relation with each other.')
+                return 0
                 
                 
         if self.small_step.has_stepped:
         if self.small_step.has_stepped:
             self.small_step.next()
             self.small_step.next()