]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix bug in compute_integrid_weights_2 1742/head
authordanshapero <shapero.daniel@gmail.com>
Mon, 12 Oct 2015 21:47:55 +0000 (14:47 -0700)
committerdanshapero <shapero.daniel@gmail.com>
Mon, 12 Oct 2015 21:47:55 +0000 (14:47 -0700)
source/dofs/dof_tools_constraints.cc

index cf74c4b2c6674e1fa70a90c8415f051d713c53db..a8d80789f54529b4bd9697d8263f974b0e1f5b07 100644 (file)
@@ -2736,7 +2736,7 @@ namespace DoFTools
             (locally_owned_dofs, locally_relevant_dofs, communicator);
 #else
             const types::global_dof_index n_fine_dofs = weight_mapping.size();
-            copy_data.global_parameter_representation[i].resize (n_fine_dofs);
+            copy_data.global_parameter_representation[i].reinit (n_fine_dofs);
 #endif
           }
 

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.