Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
resolve test failures
  • Loading branch information
matthjensen authored and matthjensen committed Feb 14, 2019
commit 6e2726467c3424c0a1b7a2fb436363406b9077cf
3 changes: 2 additions & 1 deletion behresp/behavior.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ def _mtr12(calc__1, calc__2, mtr_of='e00200p', tax_type='combined'):
# Note: c04800 is filing unit's taxable income and
# p23250 is filing units' long-term capital gains
taxinc_less_ltcg = (calc1.array('c04800') -
np.maximum(-3000, calc1.array('p23250')))
np.maximum(-3000/calc1.array('sep'),
calc1.array('p23250')))
sub = (pvalue['BE_sub'] * pch * taxinc_less_ltcg)
# calculate magnitude of income effect
if pvalue['BE_inc'] == 0.0:
Expand Down