Skip to content

Commit

Permalink
Fix for expired deprecation in numpy 1.25 (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
relf authored Oct 9, 2023
1 parent 1888028 commit 6fa965f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion smt/applications/tests/test_ego.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ def _evaluate(self, x, kx):
assert kx is None
response = self.super._evaluate(x, kx)
sens = np.hstack(
self.super._evaluate(x, ki) for ki in range(x.shape[1])
[self.super._evaluate(x, ki) for ki in range(x.shape[1])]
)
return np.hstack((response, sens))

Expand Down

0 comments on commit 6fa965f

Please sign in to comment.