Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
mlondschien committed Jan 29, 2025
1 parent 245192b commit 080a475
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_matrices.py
Original file line number Diff line number Diff line change
Expand Up @@ -836,4 +836,6 @@ def test_dense_matrix_get_col_stds(dtype):

eps = np.sqrt(np.finfo(dtype).eps) # sqrt since std = sqrt(var)
np.testing.assert_allclose(col_stds, np.std(X, axis=0, ddof=0), rtol=eps)
np.testing.assert_allclose(standardized_mat.mult, 1 / np.std(X, axis=0, ddof=0), rtol=eps)
np.testing.assert_allclose(
standardized_mat.mult, 1 / np.std(X, axis=0, ddof=0), rtol=eps
)

0 comments on commit 080a475

Please sign in to comment.