diff --git a/docs/about/license.md b/LICENSE.md similarity index 100% rename from docs/about/license.md rename to LICENSE.md diff --git a/docs/_toc.yml b/docs/_toc.yml index 68b5c4c4e..1a9cf18e8 100644 --- a/docs/_toc.yml +++ b/docs/_toc.yml @@ -27,11 +27,9 @@ parts: - caption: About chapters: - file: about/history - - file: about/roadmap - file: about/releases - - file: about/changes - - file: about/upgrading - - file: about/license + - file: about/roadmap + - file: about/LICENSE - caption: Contributing chapters: - file: contributing/contributor_guide diff --git a/docs/about/LICENSE.md b/docs/about/LICENSE.md new file mode 100644 index 000000000..299a74fd4 --- /dev/null +++ b/docs/about/LICENSE.md @@ -0,0 +1,22 @@ +License +======= + +The Tax-Calculator project is in the public domain within the United States. + +Additionally, we waive copyright and related rights in the work worldwide through the CC0 1.0 Universal public domain dedication. + +## CC0 1.0 Universal Summary + +The text below is a human-readable summary of the [Legal Code](https://creativecommons.org/publicdomain/zero/1.0/legalcode): + +_No Copyright_ + +The person who associated a work with this deed has dedicated the work to the public domain by waiving all of his or her rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. + +You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission. + +_Other Information_ + +In no way are the patent or trademark rights of any person affected by CC0, nor are the rights that other persons may have in the work or in how the work is used, such as publicity or privacy rights. + +Unless expressly stated otherwise, the person who associated a work with this deed makes no warranties about the work, and disclaims liability for all uses of the work, to the fullest extent permitted by applicable law. When using or citing the work, you should not imply endorsement by the author or the affirmer. \ No newline at end of file diff --git a/taxcalc/utils.py b/taxcalc/utils.py index 8682c018b..4da525171 100644 --- a/taxcalc/utils.py +++ b/taxcalc/utils.py @@ -586,7 +586,7 @@ def count_gt_zero(dframe, col_name, tolerance=0.001): quotient = np.divide( diff_table['atinc2'].values, diff_table['atinc1'].values, out=np.zeros_like(diff_table['atinc2'].values), - where=diff_table['atinc1'] != 0) + where=diff_table['atinc1'].values != 0) diff_table['pc_aftertaxinc'] = np.where( diff_table['atinc1'].values == 0., np.nan, 100 * (quotient - 1)) # delete intermediate Pandas DataFrame objects