Skip to content

Commit

Permalink
Update hyperit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EdoardoChidichimo authored Jun 24, 2024
1 parent 0117158 commit 55a1be4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hyperit/hyperit.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,13 +445,13 @@ def __which_estimator(self, measure: str) -> None:

if properties:
for key, value in properties.items():
if key == "K":
if key == "k_HISTORY":
self._Calc.setProperty(self._CalcClass.K_PROP_NAME, value)
elif key == "K_TAU":
elif key == "k_TAU":
self._Calc.setProperty(self._CalcClass.K_TAU_PROP_NAME, value)
elif key == "L":
elif key == "l_HISTORY":
self._Calc.setProperty(self._CalcClass.L_PROP_NAME, value)
elif key == "L_TAU":
elif key == "l_TAU":
self._Calc.setProperty(self._CalcClass.L_TAU_PROP_NAME, value)
else:
self._Calc.setProperty(key, value)
Expand Down

0 comments on commit 55a1be4

Please sign in to comment.