Open hunghaoti opened 1 year ago
as mention in #176 get_block(idx) and put_block(idx) should throw errors if idx!=0 for DenseUniTensor (currently ignore).
The related unit test are: https://github.com/Cytnx-dev/Cytnx/blob/f62f0cedd6197f7c68999dd2f814783c4b40cc8e/tests/DenseUniTensor_test.cpp#L1241 https://github.com/Cytnx-dev/Cytnx/blob/f62f0cedd6197f7c68999dd2f814783c4b40cc8e/tests/DenseUniTensor_test.cpp#L1361 https://github.com/Cytnx-dev/Cytnx/blob/f62f0cedd6197f7c68999dd2f814783c4b40cc8e/tests/DenseUniTensor_test.cpp#L1471 https://github.com/Cytnx-dev/Cytnx/blob/f62f0cedd6197f7c68999dd2f814783c4b40cc8e/tests/DenseUniTensor_test.cpp#L1567
related to #176
as mention in #176 get_block(idx) and put_block(idx) should throw errors if idx!=0 for DenseUniTensor (currently ignore).
The related unit test are: https://github.com/Cytnx-dev/Cytnx/blob/f62f0cedd6197f7c68999dd2f814783c4b40cc8e/tests/DenseUniTensor_test.cpp#L1241 https://github.com/Cytnx-dev/Cytnx/blob/f62f0cedd6197f7c68999dd2f814783c4b40cc8e/tests/DenseUniTensor_test.cpp#L1361 https://github.com/Cytnx-dev/Cytnx/blob/f62f0cedd6197f7c68999dd2f814783c4b40cc8e/tests/DenseUniTensor_test.cpp#L1471 https://github.com/Cytnx-dev/Cytnx/blob/f62f0cedd6197f7c68999dd2f814783c4b40cc8e/tests/DenseUniTensor_test.cpp#L1567