def advance(self):
    a = self.db.get_data('Cell.alive')
    n = self.db.get_data('Cell.neighbors')
    c = (n * np.array(a, dtype=np.int32))
    _advance(a, c)
def advance(self):
    a = self.db.get_data('Cell.alive')
    n = self.db.get_data('Cell.neighbors')
    c = (n * np.array(a, dtype=np.int32))
    _advance(a, c)