Skip to content

Commit 2b46029

Browse files
committed
Adaptivity fix.
1 parent dad37c4 commit 2b46029

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hermes2d/src/adapt/adapt.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,8 @@ namespace Hermes
355355
have_errors = true; // space without changes
356356

357357
// since space changed, assign dofs:
358-
Space<Scalar>::assign_dofs(this->spaces);
358+
for(unsigned int i = 0; i < this->spaces.size(); i++)
359+
this->spaces[i]->assign_dofs();
359360

360361
return done;
361362
}

0 commit comments

Comments
 (0)