Sephfox commited on
Commit
87504ff
1 Parent(s): 4961681

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -113,8 +113,8 @@ for task_id, ga in enumerate(gas):
113
 
114
 
115
  # Trade populations between tasks
116
- for i in range(num_tasks):
117
- for j in range(i+1, num_tasks):
118
  ga1 = gas[i]
119
  ga2 = gas[j]
120
  population1 = ga1.population
 
113
 
114
 
115
  # Trade populations between tasks
116
+ for i in range(len(gas)):
117
+ for j in range(i+1, len(gas)):
118
  ga1 = gas[i]
119
  ga2 = gas[j]
120
  population1 = ga1.population