From 4a64599b75e153cb54be3472dda86e58ed865599 Mon Sep 17 00:00:00 2001
From: Abel Calluaud <abel.calluaud@protonmail.com>
Date: Tue, 11 Jun 2024 17:09:25 +0200
Subject: [PATCH] Fix lacpy function prototypes

---
 src/hchameleon.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/hchameleon.c b/src/hchameleon.c
index d475a01..4a3cfc1 100644
--- a/src/hchameleon.c
+++ b/src/hchameleon.c
@@ -262,7 +262,7 @@ HCHAMELEON_destroy_matrix( HCHAM_desc_t *hdescA )
 }
 
 /* Provides a flat matrix (array of values) given an hmatrix structure */
-typedef	int (*core_lacpy_fct_t)( cham_uplo_t, int, int, const void *, int, void *, int );
+typedef	void (*core_lacpy_fct_t)( cham_uplo_t, int, int, const void *, int, void *, int );
 
 static void
 TCORE_uncompress( HCHAM_desc_t *hdescA,
@@ -310,7 +310,7 @@ TCORE_uncompress( HCHAM_desc_t *hdescA,
     free(col_ptr);
   }
   else {
-    int (*CORE_lacpy)( cham_uplo_t, int, int,
+    void (*CORE_lacpy)( cham_uplo_t, int, int,
                        const void *, int, void *, int ) = NULL;
     switch( hdescA->super->dtyp ) {
 #if defined(CHAMELEON_PREC_S)
-- 
GitLab