Permalink
Browse files

Adaptivity fix.

  • Loading branch information...
1 parent dad37c4 commit 2b46029493ac0390f73a6e3ef496aa02b72fffd9 @l-korous l-korous committed Nov 14, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 hermes2d/src/adapt/adapt.cpp
@@ -355,7 +355,8 @@ namespace Hermes
have_errors = true; // space without changes
// since space changed, assign dofs:
- Space<Scalar>::assign_dofs(this->spaces);
+ for(unsigned int i = 0; i < this->spaces.size(); i++)
+ this->spaces[i]->assign_dofs();
return done;
}

0 comments on commit 2b46029

Please sign in to comment.