summaryrefslogtreecommitdiff
path: root/src/main/CactusDefaultEvolve.c
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-06-26 18:51:13 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2000-06-26 18:51:13 +0000
commit1dda6bf9ffa523ab062342f53ceff09c482d3aa0 (patch)
tree10115a48bfa99a2cff81ec796f5acf441a3b9666 /src/main/CactusDefaultEvolve.c
parenta855bb52af67d9540f616886866d9ca984ae40b6 (diff)
Changes to CCTK_MainLoopIndex and CCTK_SetMainLoopIndex (which now returns what the index is set to)
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1705 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src/main/CactusDefaultEvolve.c')
-rw-r--r--src/main/CactusDefaultEvolve.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/CactusDefaultEvolve.c b/src/main/CactusDefaultEvolve.c
index 056549b8..ed009925 100644
--- a/src/main/CactusDefaultEvolve.c
+++ b/src/main/CactusDefaultEvolve.c
@@ -67,7 +67,7 @@ static int iteration = 0;
int CCTK_SetMainLoopIndex (int main_loop_index)
{
iteration = main_loop_index;
- return 0;
+ return iteration;
}