Fixed a global variable scope problem.

This commit is contained in:
falgout 2011-11-04 21:10:05 +00:00
parent c0e02deda6
commit 4d148ee46d
2 changed files with 2 additions and 12 deletions

View File

@ -10,8 +10,6 @@
* $Revision$
***********************************************************************EHEADER*/
/******************************************************************************
*
* Structured inner product routine
@ -20,7 +18,6 @@
#include "headers.h"
/*--------------------------------------------------------------------------
* hypre_StructInnerProd
*--------------------------------------------------------------------------*/
@ -29,13 +26,11 @@
double *local_result_ref[hypre_MAX_THREADS];
#endif
double final_innerprod_result;
double
hypre_StructInnerProd( hypre_StructVector *x,
hypre_StructVector *y )
{
double final_innerprod_result;
double local_result;
double process_result;

View File

@ -10,8 +10,6 @@
* $Revision$
***********************************************************************EHEADER*/
/******************************************************************************
*
* Structured inner product routine for overlapped grids. Computes the
@ -25,7 +23,6 @@
in the future, it needs to use the box manager instead of the neighbors
structure */
/*--------------------------------------------------------------------------
* hypre_StructOverlapInnerProd
*--------------------------------------------------------------------------*/
@ -34,13 +31,11 @@
double *local_result_ref[hypre_MAX_THREADS];
#endif
double final_innerprod_result;
double
hypre_StructOverlapInnerProd( hypre_StructVector *x,
hypre_StructVector *y )
{
double final_innerprod_result;
double local_result, overlap_result;
double process_result;