forked from M-Labs/artiq
test/coredevice: Fixup NumPy references
This fixes a copy/paste refactoring mistake from d5f90f6c9
.
This commit is contained in:
parent
d5f90f6c9f
commit
d672d2fc35
|
@ -428,11 +428,11 @@ class ListTupleTest(ExperimentCase):
|
||||||
class _ArrayQuoting(EnvExperiment):
|
class _ArrayQuoting(EnvExperiment):
|
||||||
def build(self):
|
def build(self):
|
||||||
self.setattr_device("core")
|
self.setattr_device("core")
|
||||||
self.vec_i32 = np.array([0, 1], dtype=np.int32)
|
self.vec_i32 = numpy.array([0, 1], dtype=numpy.int32)
|
||||||
self.mat_i64 = np.array([[0, 1], [2, 3]], dtype=np.int64)
|
self.mat_i64 = numpy.array([[0, 1], [2, 3]], dtype=numpy.int64)
|
||||||
self.arr_f64 = np.array([[[0.0, 1.0], [2.0, 3.0]],
|
self.arr_f64 = numpy.array([[[0.0, 1.0], [2.0, 3.0]],
|
||||||
[[4.0, 5.0], [6.0, 7.0]]])
|
[[4.0, 5.0], [6.0, 7.0]]])
|
||||||
self.strs = np.array(["foo", "bar"])
|
self.strs = numpy.array(["foo", "bar"])
|
||||||
|
|
||||||
@kernel
|
@kernel
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
Loading…
Reference in New Issue