Skip to content

Output of Contraction in version 1.0.0 #560

@manuschneider

Description

@manuschneider

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions