[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
Tue Sep 9 16:18:57 PDT 2014
Repository : https://github.com/geodynamics/citcoms
On branch : rajesh-petsc-schur
Link : https://github.com/geodynamics/citcoms/compare/4b74abccd7fd878fe02e254c4bcc60f3ad79afcc...7217daed18fa112656d9a8d5d7d860292f08a6de
>---------------------------------------------------------------
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