Skip to content

Commit 9517303

Browse files
committed
refactor code
Signed-off-by: NamCaoHai <[email protected]>
1 parent dee71bc commit 9517303

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymilvus/client/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,4 +392,4 @@ def convert_to_standard_form(vector_data: Any) -> Any:
392392
row_stds = np.std(vector_data, axis=1, keepdims=True)
393393

394394
# Standardize each row independently
395-
return np.where(row_stds != 0, (vector_data - row_means) / row_stds, vector_data)
395+
return np.where(row_stds != 0, (vector_data - row_means) / row_stds, vector_data)

0 commit comments

Comments
 (0)