Explorar el Código

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 hace 7 años
padre
commit
bdf6604c16
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()