Skip to content
This repository was archived by the owner on Apr 13, 2021. It is now read-only.

Commit 2c0d0a7

Browse files
committed
Merge pull request #312 from swift-nav/more_peregrine_updates
Pass in reduced as a list
2 parents ec96142 + e5178c4 commit 2c0d0a7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/swiftnav/nav_msg.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ cdef class NavMsg:
8181
return True
8282

8383

84-
def rebuild_NavMsg(reduced):
84+
def rebuild_NavMsg(*reduced):
8585
"""
8686
Rebuild NavMsg for unpickling.
8787

python/tests/test_nav_msg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ def test_rebuild():
7474

7575
rebuild, args = nm.__reduce__()
7676

77-
assert rebuild(args) == nm
77+
assert rebuild(*args) == nm

0 commit comments

Comments
 (0)