[cig-commits] [commit] devel, master: fixed a typo in a comment (e776b18)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Thu Nov 6 08:11:41 PST 2014


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

On branches: devel,master
Link       : https://github.com/geodynamics/specfem3d_globe/compare/bc58e579b3b0838a0968725a076f5904845437ca...be63f20cbb6f462104e949894dbe205d2398cd7f

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

commit e776b18237f25562aef19ddfa57acf86fbecc425
Author: Dimitri Komatitsch <komatitsch at lma.cnrs-mrs.fr>
Date:   Wed Apr 23 18:48:44 2014 +0200

    fixed a typo in a comment


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

e776b18237f25562aef19ddfa57acf86fbecc425
 src/meshfem3D/meshfem3D_models.f90 | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/meshfem3D/meshfem3D_models.f90 b/src/meshfem3D/meshfem3D_models.f90
index e07e345..4173590 100644
--- a/src/meshfem3D/meshfem3D_models.f90
+++ b/src/meshfem3D/meshfem3D_models.f90
@@ -903,7 +903,8 @@
 ! and / or that r_prem >(ONE-moho) is sensitive to roundoff noise and thus compiler-dependent,
 ! in which case it should be changed to:
 !
-! if (abs(r_prem - (ONE-moho)) < some_epsilon_to_define) then...
+! if (r_prem - (ONE-moho) < some_epsilon_to_define) then...
+!      or something like that
 !
 ! To be safe I have commented out the current code and checked that the bug (i.e. getting compiler-dependent results) is now gone.
 ! If you fix that routine and check with Matthieu and Elliott that it then works fine on different machines



More information about the CIG-COMMITS mailing list