]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Adjust scalar type of a local matrix to match that of the global one.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 17 Jun 2015 17:30:03 +0000 (12:30 -0500)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Wed, 17 Jun 2015 19:34:03 +0000 (14:34 -0500)
tests/matrix_free/step-37.cc

index b208e6bf4d8ae134c8108081b68bcfe89b98573e..151a8ee3f7beadcda19a83bd00c7f21498cfa59c 100644 (file)
@@ -505,7 +505,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();

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.