Skip to content

Commit a9c3a32

Browse files
sichinagamtezzele
authored andcommitted
Reformatting
1 parent 746e239 commit a9c3a32

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

pydmd/preprocessing/randomized.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
svd_rank_type = Union[int, float]
1515

16+
1617
def randomized_preprocessing(
1718
dmd: DMDBase,
1819
svd_rank: svd_rank_type,
@@ -44,6 +45,7 @@ def randomized_preprocessing(
4445
_post,
4546
)
4647

48+
4749
def _pre(
4850
state: Dict,
4951
X: np.ndarray,
@@ -55,7 +57,12 @@ def _pre(
5557
**kwargs
5658
):
5759
Q = compute_rqb(
58-
X, svd_rank, oversampling, power_iters, test_matrix, seed
60+
X,
61+
svd_rank,
62+
oversampling,
63+
power_iters,
64+
test_matrix,
65+
seed,
5966
)[0]
6067
state["compression_matrix"] = Q.conj().T
6168

pydmd/rdmd.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
Systems, 18, 2019.
88
"""
99

10-
import numpy as np
1110

1211
from .cdmd import CDMD
1312
from .utils import compute_rqb

0 commit comments

Comments
 (0)