Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1bc4ec6 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilwoodruff committed Sep 4, 2024
1 parent 90d564d commit 481c5fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions _downloads/621e2c7711e8623173875c33222eddb6/changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -661,3 +661,8 @@
if equal to 'None'
- Add better safeguards to 'check_macro_cache' method of 'Simulation' class
date: 2024-09-03 18:42:55
- bump: patch
changes:
fixed:
- Corrected logic with Simulation.check_macro_cache to prevent undesirable caching
date: 2024-09-04 21:19:20
4 changes: 2 additions & 2 deletions _modules/policyengine_core/simulations/simulation.html
Original file line number Diff line number Diff line change
Expand Up @@ -1671,8 +1671,8 @@ <h1>Source code for policyengine_core.simulations.simulation</h1><div class="hig
<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">dataset</span><span class="o">.</span><span class="n">data_format</span> <span class="o">==</span> <span class="n">Dataset</span><span class="o">.</span><span class="n">FLAT_FILE</span><span class="p">:</span>
<span class="k">return</span> <span class="kc">False</span>

<span class="k">if</span> <span class="bp">self</span><span class="o">.</span><span class="n">is_over_dataset</span><span class="p">:</span>
<span class="k">return</span> <span class="kc">True</span>
<span class="k">if</span> <span class="ow">not</span> <span class="bp">self</span><span class="o">.</span><span class="n">is_over_dataset</span><span class="p">:</span>
<span class="k">return</span> <span class="kc">False</span>

<span class="n">variable</span> <span class="o">=</span> <span class="bp">self</span><span class="o">.</span><span class="n">tax_benefit_system</span><span class="o">.</span><span class="n">get_variable</span><span class="p">(</span><span class="n">variable_name</span><span class="p">)</span>
<span class="n">parameter_deps</span> <span class="o">=</span> <span class="n">variable</span><span class="o">.</span><span class="n">exhaustive_parameter_dependencies</span>
Expand Down

0 comments on commit 481c5fd

Please sign in to comment.