Skip to content

Commit

Permalink
Update simulation.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur-tutlani authored Jun 19, 2022
1 parent 21e9472 commit 48ee9fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game_simulator/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def simulation_function_payoff(num_rows,
iterate_all = iterate_all

initial_history = initial_history
dotprod =lambda K, L: reduce(lambda z1, z2: z1+z2, map(lambda x: reduce(lambda x1, x2: x1*x2, x), zip(K, L))) if len(K)==len(L) else 0
dotprod = lambda K, L: reduce(lambda z1, z2: z1+z2, map(lambda x: reduce(lambda x1, x2: x1*x2, x), zip(K, L))) if len(K)==len(L) else 0

timeperiod = timeperiod
iteration_name = iteration_name
Expand Down

0 comments on commit 48ee9fa

Please sign in to comment.