Skip to content

Commit

Permalink
test/coredevice: Fixup NumPy references
Browse files Browse the repository at this point in the history
This fixes a copy/paste refactoring mistake from d5f90f6.
  • Loading branch information
dnadlinger committed Oct 20, 2020
1 parent d5f90f6 commit d672d2f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions artiq/test/coredevice/test_embedding.py
Expand Up @@ -428,11 +428,11 @@ def test_empty_list(self):
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):
Expand Down

0 comments on commit d672d2f

Please sign in to comment.