Skip to content

Commit e59cef1

Browse files
Fix shape/type mismatch in TestScanInplaceOptimizer.test_inplace3
1 parent 4d261b3 commit e59cef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/scan/test_rewriting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ def test_inplace3(self):
11011101
outputs, updates = scan(
11021102
lambda x, y: (x + asarrayX(1), y + asarrayX(1)), [], [x0, x1], n_steps=3
11031103
)
1104-
x0 = asarrayX(np.zeros((3,)))
1104+
x0 = asarrayX(np.zeros((4,)))
11051105
x0[0] = vx0
11061106
x0 = at.constant(x0)
11071107

0 commit comments

Comments
 (0)