Skip to content

Commit

Permalink
deprecate: Fix NumPy deprecation warnings
Browse files Browse the repository at this point in the history
NumPy warns that aliases to Python built-in types are deprecated. Thus,
we remove them as well.

Signed-off-by: Johannes Demel <[email protected]>
  • Loading branch information
jdemel committed Dec 19, 2022
1 parent e93d3ae commit 7a165ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: configure
run: mkdir build && cd build && cmake -DCMAKE_CXX_FLAGS="-Werror" ..
- name: build
run: cmake --build build
run: cmake --build build -j2
- name: test
run: cd build && ctest -V

Expand All @@ -55,6 +55,6 @@ jobs:
- name: configure
run: mkdir build && cd build && cmake -DCMAKE_CXX_FLAGS="-Werror" ..
- name: build
run: cmake --build build
run: cmake --build build -j2
- name: test
run: cd build && ctest -V
2 changes: 1 addition & 1 deletion python/qa_extract_burst_cc.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def test_002_cfo_compensation(self):
tags = []
for i in range(n_frames):
frame = np.ones(burst_len) * (i + 1)
frame = frame.astype(np.complex)
frame = frame.astype(complex)
ref = np.concatenate((ref, frame))

phase = convert_frequency_to_phase_increment(freq_offset, samp_rate)
Expand Down

0 comments on commit 7a165ef

Please sign in to comment.