Cytnx
Cytnx copied to clipboard
permute_ and reshape_ return none
Function 'permute_' and 'reshape_' return None. For example:
A = cytnx.ones([2,3])
B = A.permute_(1,0)
print(B) #None
A = cytnx.UniTensor.ones([2,3])
B = A.permute_([1,0])
print(B) #None
I think the in-place version returns None is proper?
The behaviour was changed after #478.