Преглед изворни кода

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()