Skip to content

Commit 130d019

Browse files
Merge pull request #18 from DavidPCoster/master
remove SyntaxWarning
2 parents 7fdc716 + a97731d commit 130d019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easysurrogate/analysis/GP_analysis.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def get_regression_error(
260260
# only the first component
261261
y_test_plot = y_test
262262
y_train_plot = y_train
263-
if y_pred.shape[1] is not 1:
263+
if y_pred.shape[1] != 1:
264264
y_test_plot = y_test[:, [0]]
265265
y_train_plot = y_train[:, [0]]
266266
y_pred = y_pred[:, 0]

0 commit comments

Comments
 (0)