Skip to content

Commit

Permalink
[#37] Avoid recalculating same node more than once.
Browse files Browse the repository at this point in the history
  • Loading branch information
kosarev committed Sep 28, 2021
1 parent 071c125 commit f68f987
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/z80sim/z80sim.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,8 @@ def __add_recalc_node(self, nn):
return
if nn == self.__npwr:
return
'''
if nn in self.__recalc_hash:
return
'''
self.__recalc_list.append(nn)
self.__recalc_hash.add(nn)

Expand Down

0 comments on commit f68f987

Please sign in to comment.