Skip to content

Commit

Permalink
Updates a comment in the warning of ehrlich
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgondu committed Oct 28, 2024
1 parent ece48b7 commit f9709e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/poli/objective_repository/ehrlich/register.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def __init__(
):
warnings.warn(
"The EhrlichBlackBox class is deprecated and will be removed in a future version. "
" Please use EhrlichHoloBlackBox after installing with pip install poli[ehrlich].",
" Please use EhrlichHoloBlackBox after installing with pip install poli-core[ehrlich].",
DeprecationWarning,
)

Expand Down Expand Up @@ -444,7 +444,7 @@ def create(
"""
warnings.warn(
"The EhrlichProblemFactory class is deprecated and will be removed in a future version. "
" Please use EhrlichHoloProblemFactory after installing with pip install poli[ehrlich].",
" Please use EhrlichHoloProblemFactory after installing with pip install poli-core[ehrlich].",
DeprecationWarning,
)
if seed is not None:
Expand Down

0 comments on commit f9709e5

Please sign in to comment.