Skip to content

Commit 2f8c68b

Browse files
committed
Fixed if else.
1 parent 428f3df commit 2f8c68b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sklbench/datasets/transformer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def split_and_transform_data(bench_case, data, data_description):
146146

147147
x_test = x_test[test_start:test_end] * adjust_number
148148

149-
if distributed_split == "rank_based" or knn_split_train:
149+
elif distributed_split == "rank_based" or knn_split_train:
150150
comm = MPI.COMM_WORLD
151151
rank = comm.Get_rank()
152152
size = comm.Get_size()

0 commit comments

Comments
 (0)