Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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(
|
117 |
-
for j in range(i+1,
|
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
|