[cig-commits] [commit] rajesh-petsc-schur: cleaned up global_p_dot; results dont match master (e365365)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Nov 5 19:03:57 PST 2014


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

On branch  : rajesh-petsc-schur
Link       : https://github.com/geodynamics/citcoms/compare/464e1b32299b15819f93efd98d969cddb84dfe51...f97ae655a50bdbd6dac1923a3471ee4dae178fbd

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

commit e3653654d6efe49c092ca030bb6df15acd1689fe
Author: Rajesh Kommu <rajesh.kommu at gmail.com>
Date:   Tue Sep 9 13:36:40 2014 -0700

    cleaned up global_p_dot; results dont match master


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

e3653654d6efe49c092ca030bb6df15acd1689fe
 lib/Global_operations.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Global_operations.c b/lib/Global_operations.c
index a7aa736..4c1690c 100644
--- a/lib/Global_operations.c
+++ b/lib/Global_operations.c
@@ -577,7 +577,7 @@ double global_pdot(E,A,B,lev)
   prod = 0.0;
   for (m=1;m<=E->sphere.caps_per_proc;m++)  {
     npno=E->lmesh.NPNO[lev];
-    for (i=1;i<=npno;i++)
+    for (i=0;i<npno;i++)
       temp += A[m][i]*B[m][i];
     }
 



More information about the CIG-COMMITS mailing list