Skip to content

Commit

Permalink
Formatting correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mpariente committed Nov 20, 2020
1 parent 9ae875e commit d79cfa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Black and flake8
run: pip install black==20.8b1 flake8
- name: Run Black
run: python -m black --config=pyproject.toml --check filterbanks tests
run: python -m black --config=pyproject.toml --check asteroid_filterbanks tests

- name: Link with flake8
# Exit on important linting errors and warn about others.
Expand Down
6 changes: 3 additions & 3 deletions tests/jit_filterbanks_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def __init__(
)
self.encoder = encoder
self.decoder = decoder

def forward(self, wav):
tf_rep = self.encoder(wav)
wav_back = self.decoder(wav)
return wav_back
wav_back = self.decoder(tf_rep)
return wav_back

0 comments on commit d79cfa9

Please sign in to comment.