Skip to content

Commit 017f39b

Browse files
committed
Fix vectorization issue.
1 parent 07c9bce commit 017f39b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/gettsim/germany/grundsicherung/hilfe_zum_lebensunterhalt/hilfe_zum_lebensunterhalt.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
from __future__ import annotations
44

5-
from gettsim.tt import policy_function
5+
from gettsim.tt import param_function, policy_function
66

77

88
@policy_function(
@@ -22,14 +22,14 @@ def betrag_m() -> float:
2222
return 0.0 # pragma: no cover
2323

2424

25-
@policy_function(start_date="2005-01-01", vectorization_strategy="loop")
26-
def überschusseinkommen_m() -> float:
25+
@param_function(start_date="2005-01-01")
26+
def überschusseinkommen_m_eg() -> float:
2727
"""Excess HzL income flowing to the parent's Grundsicherung im Alter.
2828
2929
Once Hilfe zum Lebensunterhalt is fully implemented, this should be computed from
3030
the child's ungedeckter Bedarf and einkommen_zur_verteilung.
31-
32-
# TODO (@MImmesberger): Compute from full HzL Bedarf/Einkommen once implemented.
33-
# https://github.com/ttsim-dev/gettsim/issues/1153
3431
"""
32+
# TODO (@MImmesberger): Transform to policy_function and compute from full HzL
33+
# Bedarf/Einkommen once implemented.
34+
# https://github.com/ttsim-dev/gettsim/issues/1153
3535
return 0.0

0 commit comments

Comments
 (0)