Skip to content

Commit

Permalink
Revert change to
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasWik committed Apr 6, 2022
1 parent c614bbc commit efbc6da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions include/deal.II/matrix_free/matrix_free.h
Original file line number Diff line number Diff line change
Expand Up @@ -2292,10 +2292,7 @@ inline unsigned int
MatrixFree<dim, Number, VectorizedArrayType>::n_components() const
{
AssertDimension(dof_handlers.size(), dof_info.size());
unsigned int comps = 0;
for (unsigned int i = 0; i < dof_handlers.size(); i++)
comps += dof_handlers[i]->get_fe().n_components();
return comps;
return dof_handlers.size();
}


Expand Down

0 comments on commit efbc6da

Please sign in to comment.