Skip to content
Snippets Groups Projects
Commit 61a9b923 authored by Matti Pellika's avatar Matti Pellika
Browse files

Commented few debug lines.

parent a8eb6931
No related branches found
No related tags found
No related merge requests found
...@@ -128,7 +128,7 @@ void Homology::findGenerators(std::string fileName){ ...@@ -128,7 +128,7 @@ void Homology::findGenerators(std::string fileName){
std::string name = "H" + dimension + getDomainString() + generator; std::string name = "H" + dimension + getDomainString() + generator;
Chain* chain = new Chain(_cellComplex->getCells(j), chains->getCoeffVector(j,i), _cellComplex, name, chains->getTorsion(j,i)); Chain* chain = new Chain(_cellComplex->getCells(j), chains->getCoeffVector(j,i), _cellComplex, name, chains->getTorsion(j,i));
Chain* chain2 = new Chain(chain); //Chain* chain2 = new Chain(chain);
//printf("chain %d \n", i); //printf("chain %d \n", i);
t1 = Cpu(); t1 = Cpu();
int start = chain->getSize(); int start = chain->getSize();
...@@ -140,7 +140,7 @@ void Homology::findGenerators(std::string fileName){ ...@@ -140,7 +140,7 @@ void Homology::findGenerators(std::string fileName){
if(chain->getTorsion() != 1) Msg::Warning("H%d %d has torsion coefficient %d!", j, i, chain->getTorsion()); if(chain->getTorsion() != 1) Msg::Warning("H%d %d has torsion coefficient %d!", j, i, chain->getTorsion());
} }
chainVector.push_back(chain); chainVector.push_back(chain);
chainVector.push_back(chain2); //chainVector.push_back(chain2);
//delete chain; //delete chain;
} }
if(j == _cellComplex->getDim() && _cellComplex->getNumOmitted() > 0){ if(j == _cellComplex->getDim() && _cellComplex->getNumOmitted() > 0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment