Skip to content

Commit

Permalink
style: apply Ruff linting rules and auto-fix code style issues
Browse files Browse the repository at this point in the history
Signed-off-by: NamCaoHai <[email protected]>
  • Loading branch information
CaoHaiNam committed Nov 7, 2024
1 parent e50f763 commit c7dc104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymilvus/client/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,4 +392,4 @@ def convert_to_standard_form(vector_data: Any) -> Any:
row_stds = np.std(vector_data, axis=1, keepdims=True)

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

0 comments on commit c7dc104

Please sign in to comment.