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

Debug lines..

parent 6c045e44
No related branches found
No related tags found
No related merge requests found
...@@ -126,7 +126,7 @@ void Homology::findGenerators(std::string fileName){ ...@@ -126,7 +126,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();
...@@ -138,7 +138,7 @@ void Homology::findGenerators(std::string fileName){ ...@@ -138,7 +138,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