diff options
author | tradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2000-10-17 18:40:07 +0000 |
---|---|---|
committer | tradke <tradke@38c3d835-c875-442e-b0fe-21c19ce1d001> | 2000-10-17 18:40:07 +0000 |
commit | abea6e7f509745a8f7108034f3b74c7fdb5a2f81 (patch) | |
tree | 09d1830a8eaf1e7bf2f4912c4e541aee0c09864d /src | |
parent | bbcb60765758fcacf9a81c28cb8a83af033e1d3c (diff) |
Made it compiling with KCC on the Hitachi SR8000.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOPanda/trunk@18 38c3d835-c875-442e-b0fe-21c19ce1d001
Diffstat (limited to 'src')
-rw-r--r-- | src/Panda/Chunk.C | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Panda/Chunk.C b/src/Panda/Chunk.C index d6fd028..0c8241a 100644 --- a/src/Panda/Chunk.C +++ b/src/Panda/Chunk.C @@ -181,6 +181,9 @@ void Chunk::compute_first_last_chunk(int array_rank, int *array_size, Block_Distribution block_dist, int *overlap_base, int *overlap_size) { + int i; + + /* Validation of input data */ if (!(layout->valid_distribution(array_rank, dist))) { @@ -189,7 +192,7 @@ void Chunk::compute_first_last_chunk(int array_rank, int *array_size, } /* Verify to see if we are dealing with BLOCK,* case only */ - for(int i=0;i<layout->rank();i++) + for(i=0;i<layout->rank();i++) { if (dist[i] == CYCLIC) { |