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

Output of Contraction in version 1.0.0 #560

Closed
manuschneider opened this issue Jan 15, 2025 · 1 comment
Closed

Output of Contraction in version 1.0.0 #560

manuschneider opened this issue Jan 15, 2025 · 1 comment

Comments

@manuschneider
Copy link
Collaborator

manuschneider commented Jan 15, 2025

When I do a contraction in cytnx v1.0.0, I get some ouput that seems not necessary.
For example

A=cytnx.UniTensor.ones([1,1])
B=cytnx.UniTensor.ones([1,1])
C=cytnx.Contract([A,B])

leads to the Ouptut

Setting root pointers from (T0,T1)

It seems this is caused by line 33 in contraction_tree.cpp:

std::cout << "Setting root pointers from " << root->name << std::endl;

Can this be deleted?

It should be commented out in the official release as well.

@hunghaoti
Copy link
Collaborator

The issue has been solved (see #561 ).

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