public release 4.2.0 - see README.md and CHANGES.md for details
This commit is contained in:
@@ -130,6 +130,8 @@ class TablePopulation(population.Population):
|
||||
"""
|
||||
super(TablePopulation, self).setup(size, model_space, **kwargs)
|
||||
self.table_source = kwargs['table_source']
|
||||
self.size_act = 0
|
||||
self.model_count = 0
|
||||
|
||||
def advance_population(self):
|
||||
"""
|
||||
@@ -141,6 +143,7 @@ class TablePopulation(population.Population):
|
||||
@return: None
|
||||
"""
|
||||
self.import_positions(self.table_source)
|
||||
self.generation += 1
|
||||
self.advance_from_import()
|
||||
super(TablePopulation, self).advance_population()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user