From 6ea86d5f9dbd980465fed3b706261964adbe9dd9 Mon Sep 17 00:00:00 2001 From: Matti Pellika <matti.pellikka@tut.fi> Date: Fri, 23 Oct 2009 05:51:24 +0000 Subject: [PATCH] Debug lines.. --- Geo/Homology.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Geo/Homology.cpp b/Geo/Homology.cpp index 3005ad3f51..f2ca589ee6 100644 --- a/Geo/Homology.cpp +++ b/Geo/Homology.cpp @@ -126,7 +126,7 @@ void Homology::findGenerators(std::string fileName){ 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* chain2 = new Chain(chain); + //Chain* chain2 = new Chain(chain); //printf("chain %d \n", i); t1 = Cpu(); int start = chain->getSize(); @@ -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()); } chainVector.push_back(chain); - chainVector.push_back(chain2); + //chainVector.push_back(chain2); //delete chain; } if(j == _cellComplex->getDim() && _cellComplex->getNumOmitted() > 0){ -- GitLab