From 276ccf25f96e7f60dc967b2d7389eca4ba9d9ec3 Mon Sep 17 00:00:00 2001 From: Mauko Quiroga Date: Wed, 25 Aug 2021 20:26:05 +0200 Subject: [PATCH] Improve description of apply_thresholds Co-authored-by: Hajar AIT EL KADI <48837850+HAEKADI@users.noreply.github.com> --- openfisca_core/commons/formulas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfisca_core/commons/formulas.py b/openfisca_core/commons/formulas.py index ccdeaa4732..21a269d28f 100644 --- a/openfisca_core/commons/formulas.py +++ b/openfisca_core/commons/formulas.py @@ -60,7 +60,7 @@ def apply_thresholds( assert len(condlist) == len(choices), \ "apply_thresholds must be called with the same number of thresholds " \ - "than choices, or one more choice" + "as choices, or with one additional choice." return numpy.select(condlist, choices)