Skip to content
Snippets Groups Projects
Commit 268a5e4d authored by Nicolas Marsic's avatar Nicolas Marsic
Browse files

Minor Changes + Doc...

parent 2898de4d
No related branches found
No related tags found
No related merge requests found
......@@ -125,13 +125,13 @@ void FunctionSpace::insertDof(Dof& d, GroupOfDof* god){
// If insertion is OK (Dof 'd' didn't exist) //
// --> Add new Dof in GoD
if(p.second)
god->add(tmp);
god->add(*tmp);
// If insertion failed (Dof 'd' already exists) //
// --> delete 'd' and add existing Dof in GoD
else{
delete tmp;
god->add(*(p.first));
god->add(*(*(p.first)));
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment