aboutsummaryrefslogtreecommitdiff
path: root/src/interpolate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interpolate.c')
-rw-r--r--src/interpolate.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/interpolate.c b/src/interpolate.c
index 7e5f218..304ef80 100644
--- a/src/interpolate.c
+++ b/src/interpolate.c
@@ -71,7 +71,8 @@ Rot180_CheckTensorTypes (CCTK_ARGUMENTS)
{
/* vector */
assert (numvars == 3);
- } else if (CCTK_EQUALS (tensortypealias, "dd_sym")) {
+ } else if (CCTK_EQUALS (tensortypealias, "uu_sym")
+ || CCTK_EQUALS (tensortypealias, "dd_sym")) {
/* symmetric tensor */
assert (numvars == 6);
} else {
@@ -279,7 +280,8 @@ Rot180_SymmetryInterpolate (CCTK_POINTER_TO_CONST const cctkGH_,
assert (numvars == 3);
parities[0] = parities[1] = parities[2] = +1;
parities[index] = -1;
- } else if (CCTK_EQUALS (tensortypealias, "dd_sym")) {
+ } else if (CCTK_EQUALS (tensortypealias, "uu_sym")
+ || CCTK_EQUALS (tensortypealias, "dd_sym")) {
assert (numvars == 6);
parities[0] = parities[1] = parities[2] = +1;
switch (index) {