From 29255f9fab6554bdb859389d1f06e453bea1ca5d Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 19 Sep 2009 12:22:14 +0000 Subject: [PATCH] pp --- Solver/dofManager.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Solver/dofManager.h b/Solver/dofManager.h index c85d0f53b9..6ba920f3da 100644 --- a/Solver/dofManager.h +++ b/Solver/dofManager.h @@ -84,14 +84,14 @@ class dofManager{ } inline void numberDof(long int ent, int type) { - Dof key(ent, type); - if(fixed.find(key) != fixed.end()) return; - // if (constraints.find(key) != constraints.end()) return; - std::map<Dof, int> :: iterator it = unknown.find(key); - if (it == unknown.end()){ - unsigned int size = unknown.size(); - unknown[key] = size; - } + Dof key(ent, type); + if(fixed.find(key) != fixed.end()) return; + // if (constraints.find(key) != constraints.end()) return; + std::map<Dof, int> :: iterator it = unknown.find(key); + if (it == unknown.end()){ + unsigned int size = unknown.size(); + unknown[key] = size; + } } inline void numberVertex(MVertex*v, int iComp, int iField) { -- GitLab