LogikSim / LogikSimPython

Python prototype of a digital logic simulator
http://www.logiksim.org/
GNU General Public License v3.0
2 stars 1 forks source link

Exception thrown when overlapping a line over its start #16

Closed hacst closed 10 years ago

hacst commented 10 years ago

Can trigger an exception when overlapping a line over the end of itself: exception

Traceback (most recent call last):
  File "S:\dev\LogikSim\src\modes.py", line 57, in filter
    return func(self, *args, **kargs)
  File "S:\dev\LogikSim\src\helper\timeit_mod.py", line 21, in timeit_wrapper
    return f(*args, **kargs)
  File "S:\dev\LogikSim\src\schematics\mouse_modes\line_submode\inserting.py", l
ine 245, in do_update_line
    l_tree.merge_tree(tree)
  File "S:\dev\LogikSim\src\logicitems\linetree.py", line 184, in merge_tree
    raise Exception("Cannot merge trees")
Exception: Cannot merge trees