Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
anarkiwi committed Jan 4, 2024
1 parent 4b28e81 commit f0b9324
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gamutrf/grsource.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,7 @@ def general_work(self, input_items, output_items):
c = len(samples)
self.i += c
if c < len(output_items[0]):
zeros = np.zeros(
len(output_items[0]) - c, dtype=np.complex64
)
zeros = np.zeros(len(output_items[0]) - c, dtype=np.complex64)

Check warning on line 111 in gamutrf/grsource.py

View check run for this annotation

Codecov / codecov/patch

gamutrf/grsource.py#L108-L111

Added lines #L108 - L111 were not covered by tests
samples = np.append(samples, zeros)
else:
# feed zeros until received first tag request
Expand Down

0 comments on commit f0b9324

Please sign in to comment.