Closed josephinius closed 1 month ago
This seems to be a problem with Svd_truncate
for int
type tensors. The above code seems to work fine when
matrix = np.array([[1, 2], [3, 4], [5, 6]])
is replaced by matrix = np.array([[1., 2.], [3., 4.], [5., 6.]])
.
I use cytnx version 0.9.7.
I got "Segmentation fault (core dumped)" when trying to run this code: