Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 14, 2022
1 parent 38c42d3 commit e8fc926
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ def test_domain_range_scale_log_encoding_FLog2(self):
for scale, factor in d_r:
with domain_range_scale(scale):
np.testing.assert_almost_equal(
log_encoding_FLog2(L_in * factor), V_out * factor, decimal=7
log_encoding_FLog2(L_in * factor),
V_out * factor,
decimal=7,
)

@ignore_numpy_errors
Expand Down Expand Up @@ -380,7 +382,9 @@ def test_domain_range_scale_log_decoding_FLog2(self):
for scale, factor in d_r:
with domain_range_scale(scale):
np.testing.assert_almost_equal(
log_decoding_FLog2(V_out * factor), L_in * factor, decimal=7
log_decoding_FLog2(V_out * factor),
L_in * factor,
decimal=7,
)

@ignore_numpy_errors
Expand Down

0 comments on commit e8fc926

Please sign in to comment.