forked from M-Labs/artiq
Fixes bug from 5108ed8
. Truth value of multi-element numpy array is
not defined. Completes #1186 and fixes/amends #1188.
Signed-off-by: Drew Risinger <drewrisinger@users.noreply.github.com>
This commit is contained in:
parent
101671fbbf
commit
66861e6708
@ -100,7 +100,7 @@ class RPCCase(unittest.TestCase):
|
||||
"""
|
||||
|
||||
def _annotated_function(
|
||||
arg1: str, arg2: np.ndarray = np.array([1, 2])
|
||||
arg1: str, arg2: np.ndarray = np.array([1,])
|
||||
) -> np.ndarray:
|
||||
"""Sample docstring."""
|
||||
return arg1
|
||||
|
Loading…
Reference in New Issue
Block a user