Skip to content

Commit 256b2ed

Browse files
committed
add parentheses to time step
1 parent bbd3188 commit 256b2ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/twitter_simulation/group_polarization/twitter_simulation_group_polar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ async def running(
133133
print(Back.GREEN + f"DB:{db_file} timestep:{timestep}" + Back.RESET)
134134
print(Back.YELLOW + "doing test" + Back.RESET)
135135

136-
if timestep - 1 % 10 == 0:
136+
if (timestep - 1) % 10 == 0:
137137
test_results_list = []
138138
test_tasks = [
139139
agent.perform_test() for agent in agent_graph

0 commit comments

Comments
 (0)