Skip to content

Commit

Permalink
Fix missing float
Browse files Browse the repository at this point in the history
  • Loading branch information
benjello committed Dec 27, 2019
1 parent 3024663 commit f513906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openfisca_core/taxscales.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def calc(self, base, factor = 1, round_base_decimals = None):
>>> marginal_tax_scale.add_bracket(100, 0.1)
>>> base = np.array([0, 150])
>>> marginal_tax_scale.calc(base),
[0.0, 5]
[0.0, 5.0]
"""

base1 = np.tile(base, (len(self.thresholds), 1)).T
Expand Down

0 comments on commit f513906

Please sign in to comment.