[cig-commits] [commit] master: fix embarrassing compilation error (21aac23)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Jun 12 08:31:05 PDT 2014


Repository : https://github.com/geodynamics/aspect

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/62599834f9944b32d7d25d117a9a394c565642ea...21aac238409facd328313998aa9ab9dddb2f16a7

>---------------------------------------------------------------

commit 21aac238409facd328313998aa9ab9dddb2f16a7
Author: Timo Heister <timo.heister at gmail.com>
Date:   Thu Jun 12 11:21:42 2014 -0400

    fix embarrassing compilation error


>---------------------------------------------------------------

21aac238409facd328313998aa9ab9dddb2f16a7
 source/simulator/helper_functions.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/simulator/helper_functions.cc b/source/simulator/helper_functions.cc
index 27fdf89..4c9bc79 100644
--- a/source/simulator/helper_functions.cc
+++ b/source/simulator/helper_functions.cc
@@ -746,7 +746,7 @@ namespace aspect
                       // then adjust its value. Note that because we end up touching
                       // entries more than once, we are not simply incrementing
                       // distributed_vector but copy from the unchanged vector.
-                      distributed_vector(local_dof_indices[support_point_index])
+                      distributed_vector(local_dof_indices[local_dof_index])
                         = vector(local_dof_indices[local_dof_index]) - pressure_adjustment;
                     }
                 }



More information about the CIG-COMMITS mailing list