From 611fba6576d3c3a5e5ad43601cf26179896962fb Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 12 May 2003 13:28:11 +0000 Subject: 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 --- src/InterpGridArrays.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3