aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/interpolate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interpolate.c b/src/interpolate.c
index 84d0485..10da260 100644
--- a/src/interpolate.c
+++ b/src/interpolate.c
@@ -278,7 +278,7 @@ ReflectionSymmetry_Interpolate (CCTK_POINTER_TO_CONST restrict const cctkGH_,
ttype = WEYLSCALARS_REAL;
tcomponent = vi - firstvar;
} else {
- char * groupname = CCTK_GroupName(gi);
+ groupname = CCTK_GroupName(gi);
assert (groupname);
CCTK_VWarn (0, __LINE__, __FILE__, CCTK_THORNSTRING,
"Illegal tensor type alias for group \"%s\"",
@@ -364,7 +364,7 @@ ReflectionSymmetry_Interpolate (CCTK_POINTER_TO_CONST restrict const cctkGH_,
{
int code = operation_codes[m];
while (code) {
- const int d = code % 10 - 1;
+ d = code % 10 - 1;
code /= 10;
assert (d>=0 && d<3);
parities[d] *= -1;