mirror of
https://github.com/romanz/amodem.git
synced 2026-03-23 19:01:00 +08:00
use real part at common.dumps()
This commit is contained in:
@@ -49,5 +49,5 @@ def test_icapture():
|
||||
|
||||
def test_dumps_loads():
|
||||
x = np.array([.1, .4, .2, .6, .3, .5])
|
||||
y = common.loads(common.dumps(x * 1j))
|
||||
y = common.loads(common.dumps(x))
|
||||
assert all(x == y)
|
||||
|
||||
Reference in New Issue
Block a user