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:
Victor A. P. Magri 2023-05-08 10:24:32 -04:00 committed by GitHub
parent 991f2e15eb
commit fbfc271cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.