mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-18 16:06:30 +08:00
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):
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user