Unverified Commit a264d9ad authored by chicm-ms's avatar chicm-ms Committed by GitHub
Browse files

Fix pylint error (#2585)

parent a17632b0
...@@ -236,7 +236,7 @@ class CG_BOHB: ...@@ -236,7 +236,7 @@ class CG_BOHB:
return sample return sample
def impute_conditional_data(self, array): def impute_conditional_data(self, array):
return_array = np.empty_like(array) return_array = np.zeros(array.shape)
for i in range(array.shape[0]): for i in range(array.shape[0]):
datum = np.copy(array[i]) datum = np.copy(array[i])
nan_indices = np.argwhere(np.isnan(datum)).flatten() nan_indices = np.argwhere(np.isnan(datum)).flatten()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment