TUDelft-CITG / OpenCLSim

Rule driven scheduling of cyclic activities for in-depth comparison of alternative operating strategies.
https://openclsim.readthedocs.io
MIT License
14 stars 17 forks source link

fix bug #87

Closed Pietervanhalem closed 4 years ago

Pietervanhalem commented 4 years ago

When destination has the attribute name but the name is not in the graph the find route will return None without giving a warning. By removing the else statement the function will continue when the destination has the attribute name but the name is not in the graph. This fixes the bug