Commits

Lars Yencken committed ef7bffa

Remove debugging print statements.

Comments (0)

Files changed (1)

                 # precalculate squares around an ant to set as visible
                 self.vision_offsets_2 = []
                 mx = int(sqrt(self.viewradius2))
-                print >> sys.stderr, self.viewradius2
                 for d_row in range(-mx,mx+1):
                     for d_col in range(-mx,mx+1):
                         d = d_row**2 + d_col**2
                                 d_row%self.rows-self.rows,
                                 d_col%self.cols-self.cols
                             ))
-                print >> sys.stderr, self.vision_offsets_2
             # set all spaces as not visible
             # loop through ants and set all squares around ant as visible
             self.vision = np.zeros((self.rows, self.cols), dtype=np.bool_)