Skip to content

Commit

Permalink
Revert "Slight change to core"
Browse files Browse the repository at this point in the history
This reverts commit c13dc88.
  • Loading branch information
DominicWC committed Jul 12, 2024
1 parent f71471d commit ae87c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion HARK/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1485,7 +1485,7 @@ def solve_one_cycle(agent, solution_last):
if len(agent.time_vary) > 0:
# name = agent.time_vary[0]
# T = len(eval('agent.' + name))
T = agent.T_cycle # len(agent.__dict__[agent.time_vary[0]])
T = len(agent.__dict__[agent.time_vary[0]])
else:
T = 1

Expand Down

0 comments on commit ae87c69

Please sign in to comment.