Skip to content

Commit

Permalink
fix bug in function DoFCellAccessor::distribute_local_to_global()
Browse files Browse the repository at this point in the history
  • Loading branch information
Yimin Jin committed Jan 16, 2024
1 parent eed6dfe commit 01a77d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/deal.II/dofs/dof_accessor.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -2957,7 +2957,7 @@ DoFCellAccessor<dimension_, space_dimension_, level_dof_access>::
{
global_matrix.add(dof_indices[i],
n_dofs,
&dof_indices[0],
dof_indices.data(),
&local_matrix(i, 0));
global_vector(dof_indices[i]) += local_vector(i);
}
Expand Down

0 comments on commit 01a77d5

Please sign in to comment.