[cig-commits] [commit] master: Bugfix (ae2ae05)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu May 22 15:35:15 PDT 2014


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

On branch  : master
Link       : https://github.com/geodynamics/aspect/compare/4a5e27e5690a0e0c1e13e19100af7398e37f36b8...d31f4e9435a1c12781f5b673b672cbd29c41c2c2

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

commit ae2ae058b58b1a8644bee833d02a37bd65a18291
Author: Siqi Zhang <siqi.zhang at mq.edu.au>
Date:   Tue May 20 22:46:22 2014 -0500

    Bugfix
    
    Missing conditions on composition loop.


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

ae2ae058b58b1a8644bee833d02a37bd65a18291
 source/postprocess/internal_heating_statistics.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source/postprocess/internal_heating_statistics.cc b/source/postprocess/internal_heating_statistics.cc
index edb7990..8ff9539 100644
--- a/source/postprocess/internal_heating_statistics.cc
+++ b/source/postprocess/internal_heating_statistics.cc
@@ -81,7 +81,7 @@ namespace aspect
 
             for (unsigned int q=0; q<n_q_points; ++q)
             {
-                  for(unsigned c=0;this->n_compositional_fields();c++)
+                  for(unsigned c=0;c<this->n_compositional_fields();c++)
                         composition_values_at_q_point[c]=compositional_values[c][q];
                   local_radioactive_heating_integrals += heating_model.specific_heating_rate(temperature_values[q],
                                                                                               pressure_values[q],



More information about the CIG-COMMITS mailing list