We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If a UniTensor has 3 blocks. UniTensor.get_block(3) will crash the kernel.
UniTensor.get_block(3)
This might be related to issue #357 .
The text was updated successfully, but these errors were encountered:
I guess this is the expected behavior. The index of blocks starts from zero. If my_unitensor has three blocks:
my_unitensor
my_unitensor.get_block(0) # OK my_unitensor.get_block(1) # OK my_unitensor.get_block(2) # OK my_unitensor.get_block(3) # raise RuntimeError in Python
Sorry, something went wrong.
No branches or pull requests
If a UniTensor has 3 blocks.
UniTensor.get_block(3)
will crash the kernel.This might be related to issue #357 .
The text was updated successfully, but these errors were encountered: