Remove deprecated warning from Init (#899)
When using HYPRE_Init, the compiler no longer gives a deprecated function warning message.
This commit is contained in:
parent
991f2e15eb
commit
fbfc271cfa
@ -123,7 +123,7 @@ typedef HYPRE_Int MPI_Comm;
|
|||||||
*--------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initializes the hypre library.
|
* (Required) Initializes the hypre library.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
HYPRE_Int HYPRE_Initialize(void);
|
HYPRE_Int HYPRE_Initialize(void);
|
||||||
@ -133,9 +133,7 @@ HYPRE_Int HYPRE_Initialize(void);
|
|||||||
* Please, use HYPRE_Initialize instead.
|
* Please, use HYPRE_Initialize instead.
|
||||||
**/
|
**/
|
||||||
|
|
||||||
#define HYPRE_Init() \
|
#define HYPRE_Init() HYPRE_Initialize()
|
||||||
HYPRE_DEPRECATED("GCC warning \"HYPRE_Init is deprecated. Use HYPRE_Initialize() instead.\"") \
|
|
||||||
HYPRE_Initialize()
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* (Required) Finalizes the hypre library.
|
* (Required) Finalizes the hypre library.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user