From d672d2fc351150882afe881636cb09bd6d8ed3a8 Mon Sep 17 00:00:00 2001 From: David Nadlinger Date: Tue, 20 Oct 2020 02:49:05 +0200 Subject: [PATCH] test/coredevice: Fixup NumPy references This fixes a copy/paste refactoring mistake from d5f90f6c9. --- artiq/test/coredevice/test_embedding.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/artiq/test/coredevice/test_embedding.py b/artiq/test/coredevice/test_embedding.py index d944198c9..d3c362344 100644 --- a/artiq/test/coredevice/test_embedding.py +++ b/artiq/test/coredevice/test_embedding.py @@ -428,11 +428,11 @@ class ListTupleTest(ExperimentCase): class _ArrayQuoting(EnvExperiment): def build(self): self.setattr_device("core") - self.vec_i32 = np.array([0, 1], dtype=np.int32) - self.mat_i64 = np.array([[0, 1], [2, 3]], dtype=np.int64) - self.arr_f64 = np.array([[[0.0, 1.0], [2.0, 3.0]], - [[4.0, 5.0], [6.0, 7.0]]]) - self.strs = np.array(["foo", "bar"]) + self.vec_i32 = numpy.array([0, 1], dtype=numpy.int32) + self.mat_i64 = numpy.array([[0, 1], [2, 3]], dtype=numpy.int64) + self.arr_f64 = numpy.array([[[0.0, 1.0], [2.0, 3.0]], + [[4.0, 5.0], [6.0, 7.0]]]) + self.strs = numpy.array(["foo", "bar"]) @kernel def run(self):