aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlanfer <lanfer@1d96b42b-98df-4a6a-9d84-1b24288d4588>1999-09-16 09:38:09 +0000
committerlanfer <lanfer@1d96b42b-98df-4a6a-9d84-1b24288d4588>1999-09-16 09:38:09 +0000
commitcbaffedac724acd602a243925b179dedee2f24a1 (patch)
tree8ce5a31adb6a203e183b7f98c22515362bec29fd
parent08daccbbce407bc5bbf13e06e3a39fc4860628bc (diff)
taking out dereferencing
git-svn-id: http://svn.cactuscode.org/arrangements/CactusElliptic/EllPETSc/trunk@16 1d96b42b-98df-4a6a-9d84-1b24288d4588
-rw-r--r--src/petsc_confmetric_solver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/petsc_confmetric_solver.c b/src/petsc_confmetric_solver.c
index adefb5f..55f5e7a 100644
--- a/src/petsc_confmetric_solver.c
+++ b/src/petsc_confmetric_solver.c
@@ -224,11 +224,11 @@ void petsc_confmetric_solver(cGH *GH, int *MetricPsiI, int MetricPsiISize,
/* if we have a negative index, this GF is not needed,
there for don't even look for it. when index positive,
set flag Mstorage=1, dito for N */
- if (*MIndex>=0) {
+ if (MIndex>=0) {
Mlin = (CCTK_REAL*) CCTK_VarDataPtrI(GH,0,MIndex);
Mstorage = 1;
}
- if (*NIndex>=0) {
+ if (NIndex>=0) {
Nlin = (CCTK_REAL*) CCTK_VarDataPtrI(GH,0,NIndex);
Nstorage = 1;
}