File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 77
88import numpy as np
99from ConfigSpace import Configuration
10- from sphinx .writers .latex import UnsupportedError
1110
1211from smac .intensifier .abstract_intensifier import AbstractIntensifier
1312from smac .runhistory import TrialInfo
@@ -446,7 +445,7 @@ def _get_adaptivecapping_budget(
446445 normalize = False ,
447446 )
448447 if isinstance (inc_sum_cost_unchecked , list ):
449- raise UnsupportedError (
448+ raise TypeError (
450449 "Incumbent sum cost should be a single value and not a list, as adaptive capping is not "
451450 "supported for scenarios with multiple objectives."
452451 )
@@ -501,7 +500,7 @@ def _get_adaptivecapping_budget(
501500 average_instance_cost = np .array (costs ).mean ()
502501 inc_sum_cost += average_instance_cost
503502 else :
504- raise UnsupportedError ()
503+ raise TypeError ()
505504
506505 # compute the already used runtime for the challenger across instances
507506 chal_sum_cost = self .runhistory .sum_cost (
You can’t perform that action at this time.
0 commit comments