Skip to content

Commit 4b4556c

Browse files
committed
fix CI
1 parent 204597f commit 4b4556c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hiopbbpy/opt/boalgorithm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def getOptimalPoint(self):
6464
# Method to return the optimal objective
6565
def getOptimalObjective(self):
6666
y_opt = np.array(self.y_opt, copy=True)
67-
return y_opt
67+
return y_opt[0]
6868

6969
# A subclass of BOAlgorithmBase implementing a full Bayesian Optimization workflow
7070
class BOAlgorithm(BOAlgorithmBase):

0 commit comments

Comments
 (0)