Skip to content

Commit

Permalink
Adjust scalar type of a local matrix to match that of the global one.
Browse files Browse the repository at this point in the history
  • Loading branch information
bangerth committed Jun 17, 2015
1 parent fb55bb0 commit 168298e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/step-37/step-37.cc
Expand Up @@ -891,7 +891,7 @@ namespace Step37
std::vector<types::global_dof_index> local_dof_indices (dofs_per_cell);
const Coefficient<dim> coefficient;
std::vector<double> coefficient_values (n_q_points);
FullMatrix<double> local_matrix (dofs_per_cell, dofs_per_cell);
FullMatrix<float> local_matrix (dofs_per_cell, dofs_per_cell);
Vector<double> local_diagonal (dofs_per_cell);

const unsigned int n_levels = triangulation.n_levels();
Expand Down

0 comments on commit 168298e

Please sign in to comment.