Skip to content
Snippets Groups Projects
Commit 4053d67a authored by Gaetan Bricteux's avatar Gaetan Bricteux
Browse files

fix commit

parent 6fec0607
No related branches found
No related tags found
No related merge requests found
......@@ -434,9 +434,9 @@ void Homology::findCompatibleBasisPair(int master, std::vector<int> dim)
std::vector<int> Homology::_addToModel(int dim, bool co, bool post, int physicalNumRequest) const
{
if(dim < 0 || dim > 3) return;
int pgnum = -1;
std::vector<int> physicals;
if(dim < 0 || dim > 3) return physicals;
int pgnum = -1;
if(!co) {
for(unsigned int i = 0; i < _chains[dim].size(); i++) {
if(physicalNumRequest != -1) pgnum = physicalNumRequest + i;
......@@ -465,7 +465,7 @@ std::vector<int> Homology::_addToModel(int dim, bool co, bool post, int physical
void Homology::addChainsToModel(int dim, bool post, int physicalNumRequest) const
{
std::vector<int> physicals;
//std::vector<int> physicals;
if(!_homologyComputed[dim])
Msg::Warning("%d-Homology is not computed", dim);
if(dim == -1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment