Skip to content

Commit

Permalink
apply black
Browse files Browse the repository at this point in the history
  • Loading branch information
luk036 committed May 3, 2024
1 parent 3c3b498 commit 3a35e0b
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 168 deletions.
2 changes: 1 addition & 1 deletion src/ellalgo/ell_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ class CutStatus(Enum):
# 1e-8 respectively.
class Options:
max_iters: int = 2000 # maximum number of iterations
tolerance: float = 1e-20 # error tolerance
tolerance: float = 1e-20 # error tolerance
43 changes: 0 additions & 43 deletions src/ellalgo/ldlt.py

This file was deleted.

8 changes: 7 additions & 1 deletion src/ellalgo/oracles/lowpass_oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,13 @@ class LowpassOracle(OracleOptim):
idx1: int = 0

def __init__(
self, ndim: int, wpass: float, wstop: float, lp_sq: float, up_sq: float, sp_sq: float
self,
ndim: int,
wpass: float,
wstop: float,
lp_sq: float,
up_sq: float,
sp_sq: float,
):
# *********************************************************************
# optimization parameters
Expand Down
1 change: 0 additions & 1 deletion tests/test_ell_stable.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,3 @@ def test_update_parallel_no_effect():
assert status == CutStatus.NoEffect
assert ell._xc == approx(np.zeros(4))
assert ell._kappa == approx(0.01)

122 changes: 0 additions & 122 deletions tests/test_ldlt.py

This file was deleted.

0 comments on commit 3a35e0b

Please sign in to comment.