def reset_dist(self): """ Reset the distance to 0 """ # Called from CM1KEmulator.reset_indexcomp(), i.e., whenever LCOMP is updated log.trace("Neuron.reset_dist()") self.dist = 0