[cig-commits] [commit] master: bugfix (ef52b50)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Thu May 22 15:35:56 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/4a5e27e5690a0e0c1e13e19100af7398e37f36b8...d31f4e9435a1c12781f5b673b672cbd29c41c2c2
>---------------------------------------------------------------
commit ef52b508ce8ae5f0f7593e2fdea7f49b41a036d5
Author: Siqi Zhang <siqi.zhang at mq.edu.au>
Date: Thu May 22 15:47:36 2014 -0500
bugfix
>---------------------------------------------------------------
ef52b508ce8ae5f0f7593e2fdea7f49b41a036d5
source/postprocess/internal_heating_statistics.cc | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/source/postprocess/internal_heating_statistics.cc b/source/postprocess/internal_heating_statistics.cc
index ffd3126..af913dd 100644
--- a/source/postprocess/internal_heating_statistics.cc
+++ b/source/postprocess/internal_heating_statistics.cc
@@ -105,13 +105,11 @@ namespace aspect
statistics.add_value (name1, global_internal_heating_integrals/global_volume);
// also make sure that the other columns filled by the this object
// all show up with sufficient accuracy and in scientific notation
-
- statistics.set_precision (name2, 8);
- statistics.set_scientific (name2, true);
+ statistics.set_precision (name1, 8);
+ statistics.set_scientific (name1, true);
const std::string name2("Total internal heating rate (W) ");
statistics.add_value (name2, global_internal_heating_integrals);
-
// also make sure that the other columns filled by the this object
// all show up with sufficient accuracy and in scientific notation
statistics.set_precision (name2, 8);
More information about the CIG-COMMITS
mailing list