aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Carpet/Carpet/src/ScheduleWrapper.cc2
-rw-r--r--Carpet/Carpet/src/carpet.hh4
2 files changed, 4 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/ScheduleWrapper.cc b/Carpet/Carpet/src/ScheduleWrapper.cc
index 13a665938..f598afa78 100644
--- a/Carpet/Carpet/src/ScheduleWrapper.cc
+++ b/Carpet/Carpet/src/ScheduleWrapper.cc
@@ -60,6 +60,7 @@ namespace Carpet {
{
skip |= (* fli) (cctkGH, function, attribute, data);
}
+ return skip;
}
int
@@ -74,6 +75,7 @@ namespace Carpet {
{
res |= (* fli) (cctkGH, function, attribute, data);
}
+ return res;
}
} // namespace Carpet
diff --git a/Carpet/Carpet/src/carpet.hh b/Carpet/Carpet/src/carpet.hh
index 37003acd3..93b5bc848 100644
--- a/Carpet/Carpet/src/carpet.hh
+++ b/Carpet/Carpet/src/carpet.hh
@@ -65,11 +65,11 @@ namespace Carpet {
void CheckChecksums (const cGH* cgh, checktimes where);
// Schedule
- void CallBeforeRoutines (cGH const * cctkGH,
+ int CallBeforeRoutines (cGH const * cctkGH,
void * const function,
cFunctionData * const attribute,
void * const data);
- void CallAfterRoutines (cGH const * cctkGH,
+ int CallAfterRoutines (cGH const * cctkGH,
void * const function,
cFunctionData * const attribute,
void * const data);