aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5>2003-05-12 13:28:11 +0000
committertradke <tradke@1c20744c-e24a-42ec-9533-f5004cb800e5>2003-05-12 13:28:11 +0000
commit611fba6576d3c3a5e5ad43601cf26179896962fb (patch)
treee58b84b5d42d60e5f19926a6ff8fb62f9f0dc789
parent21a44355c5790c80ba9c549ae56085675c8a8a58 (diff)
Bugfix for the multiprocessor case where an output array was touched even if
it was set to a NULL pointer (but its datatype was set to a valid value). git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGHInterp/trunk@57 1c20744c-e24a-42ec-9533-f5004cb800e5
-rw-r--r--src/InterpGridArrays.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/InterpGridArrays.c b/src/InterpGridArrays.c
index d3f09a7..66f6ebb 100644
--- a/src/InterpGridArrays.c
+++ b/src/InterpGridArrays.c
@@ -923,7 +923,7 @@ int PUGHInterp_InterpGridArrays (const cGH *GH,
for (array = 0; array < N_output_arrays; array++)
{
- if (output_array_types[array] != type)
+ if (output_array_types[array] != type || ! output_arrays[array])
{
continue;
}