Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ankur-tutlani committed Jun 19, 2022
1 parent 48ee9fa commit 4a6fd38
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 @@ -11,6 +11,7 @@
from collections import Counter
import datetime
from functools import reduce
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



Expand Down Expand Up @@ -433,7 +434,6 @@ 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

timeperiod = timeperiod
iteration_name = iteration_name
Expand Down

0 comments on commit 4a6fd38

Please sign in to comment.