[cig-commits] [commit] master: Another bugfix for gplates version check. (d73c9ab)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Sat May 24 14:21:50 PDT 2014
Repository : https://github.com/geodynamics/aspect
On branch : master
Link : https://github.com/geodynamics/aspect/compare/e2d2428a203331b4832dbc4e5f4d716934c22694...f68c1b584dc0211691228ef830ea1d2538da258d
>---------------------------------------------------------------
commit d73c9ab6ff47cfe64c6ef0a1f09263a9f57a2309
Author: Rene Gassmoeller <R.Gassmoeller at mailbox.org>
Date: Sat May 24 15:28:15 2014 -0500
Another bugfix for gplates version check.
>---------------------------------------------------------------
d73c9ab6ff47cfe64c6ef0a1f09263a9f57a2309
source/velocity_boundary_conditions/gplates.cc | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/source/velocity_boundary_conditions/gplates.cc b/source/velocity_boundary_conditions/gplates.cc
index d5a3740..2391a50 100644
--- a/source/velocity_boundary_conditions/gplates.cc
+++ b/source/velocity_boundary_conditions/gplates.cc
@@ -520,7 +520,10 @@ namespace aspect
const int gplates_1_3_version[3] = {1,6,322};
for (unsigned int i = 0; i < int_versions.size(); i++)
- if (int_versions[i] > gplates_1_3_version[i]) return true;
+ {
+ if (int_versions[i] > gplates_1_3_version[i]) return true;
+ if (int_versions[i] < gplates_1_3_version[i]) return false;
+ }
return false;
}
More information about the CIG-COMMITS
mailing list