diff --git a/artiq/protocols/pyon.py b/artiq/protocols/pyon.py index 471025b43..5c25e882c 100644 --- a/artiq/protocols/pyon.py +++ b/artiq/protocols/pyon.py @@ -145,6 +145,7 @@ def encode(x, pretty=False): def _nparray(shape, dtype, data): a = numpy.frombuffer(base64.b64decode(data), dtype=dtype) + a = a.copy() return a.reshape(shape)