Skip to content

Commit 3ccf7c5

Browse files
committed
Make test compatible with library
1 parent c22955e commit 3ccf7c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pygyro/model/test_layout.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,11 +126,11 @@ def test_OddLayoutPaths():
126126
assert layout1.name == '0123'
127127
layout2 = remapper.getLayout('1230')
128128

129-
fStart = np.empty(remapper.bufferSize, int)
129+
fStart = np.empty(remapper.bufferSize, complex)
130130
fStart[:] = -1
131-
fEnd = np.empty(remapper.bufferSize, int)
131+
fEnd = np.empty(remapper.bufferSize, complex)
132132
fEnd[:] = -1
133-
fBuf = np.empty(remapper.bufferSize, int)
133+
fBuf = np.empty(remapper.bufferSize, complex)
134134
fBuf[:] = -1
135135
f1_s = np.split(fStart, [layout1.size])[0].reshape(layout1.shape)
136136
f2_s = np.split(fStart, [layout2.size])[0].reshape(layout2.shape)

0 commit comments

Comments
 (0)