Skip to content
New issue

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

duplicate tensor labels lead to exatensor hanging #1

Open
aspgomes opened this issue Jun 3, 2020 · 2 comments
Open

duplicate tensor labels lead to exatensor hanging #1

aspgomes opened this issue Jun 3, 2020 · 2 comments

Comments

@aspgomes
Copy link

aspgomes commented Jun 3, 2020

while debugging code in dirac, i've noticed that if different tensors are initialized with the same label/string identifier, the code hangs.

it perhaps would be nice if exatensor/talsh catch that as an error.

@DmitryLyakh
Copy link
Member

Andre, could you clarify what you mean by "initialized with the same label/string identifier"? Did you mean when they are created by exatns_tensor_create() under the same name instead? Like, exatns_tensor_create(ltens,'Tensor') and then exatns_tensor_create(rtens,'Tensor')?

@aspgomes
Copy link
Author

aspgomes commented Jun 3, 2020

yes, i mean precisely what you wrote.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants