Skip to content

Commit

Permalink
made ScenarioCreatorDeprecated class private
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklise committed Feb 28, 2024
1 parent ba840aa commit be878d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyomo/contrib/parmest/scenariocreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def __init__(self, pest, solvername):
+ "creator, please recreate object using experiment lists.",
version=DEPRECATION_VERSION,
)
self.scen_deprecated = ScenarioCreatorDeprecated(
self.scen_deprecated = _ScenarioCreatorDeprecated(
pest.pest_deprecated, solvername
)
else:
Expand Down Expand Up @@ -201,7 +201,7 @@ def ScenariosFromBootstrap(self, addtoSet, numtomake, seed=None):
################################


class ScenarioCreatorDeprecated(object):
class _ScenarioCreatorDeprecated(object):
"""Create scenarios from parmest.
Args:
Expand Down

0 comments on commit be878d1

Please sign in to comment.