Skip to content

Commit

Permalink
minor change
Browse files Browse the repository at this point in the history
  • Loading branch information
hua7450 authored Sep 28, 2024
1 parent 7cb63f1 commit cb92a56
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class ok_pension_subtraction(Variable):
value_type = float
entity = TaxUnit
label = "Oklahoma AGI subtractions from federal AGI"
label = "Oklahoma pension subtraction"
unit = USD
definition_period = YEAR
reference = (
Expand All @@ -16,5 +16,4 @@ class ok_pension_subtraction(Variable):
def formula(tax_unit, period, parameters):
pensions = tax_unit.members("taxable_pension_income", period)
p = parameters(period).gov.states.ok.tax.income.agi.subtractions
capped_pension = tax_unit.sum(min_(p.pension_limit, pensions))
return capped_pension
return tax_unit.sum(min_(p.pension_limit, pensions))

0 comments on commit cb92a56

Please sign in to comment.