Closed davidbrochart closed 5 years ago
from xnd import xnd x0 = xnd([[0, 1, 2], [3, 4, 5]]) x1 = xnd([[6, 7, 8], [9, 10, 11]]) x0[:, :] = x1 print(x0) # works fine: xnd([[6, 7, 8], [9, 10, 11]], type='2 * 3 * int64') x0 = xnd([[0, 1, 2], [3, 4, 5]]) x1 = xnd([6, 7, 8, 9, 10, 11]) x0[:, :] = x1 print(x0) # no error message: xnd([[0, 1, 2], [3, 4, 5]], type='2 * 3 * int64')
Thanks, should be fixed in fd738bcb0effdeca7a83bc622cdd3b4efd0f3b42 .