LAPACK Archives

[Lapack] Correct C declaration of ilaver

The C declaration of ilaver in the lapacke subdirectory is wrong. It
declares its arguments as const, which it shouldn't. The attached
patch corrects this.

-erik

-- 
Erik Schnetter <schnetter@Domain.Removed>
http://www.perimeterinstitute.ca/personal/eschnetter/
-------------- next part --------------
diff -ru OpenBLAS-0.2.13/lapack-netlib/lapacke/include/lapacke.h 
OpenBLAS-0.2.13.new/lapack-netlib/lapacke/include/lapacke.h
--- OpenBLAS-0.2.13/lapack-netlib/lapacke/include/lapacke.h     2014-12-03 
10:14:21.000000000 -0500
+++ OpenBLAS-0.2.13.new/lapack-netlib/lapacke/include/lapacke.h 2014-12-25 
17:08:44.000000000 -0500
@@ -10707,9 +10707,9 @@
                                   const lapack_complex_double* x,
                                   lapack_int incx, lapack_complex_double* a,
                                   lapack_int lda );
-void LAPACKE_ilaver( const lapack_int* vers_major,
-                     const lapack_int* vers_minor,
-                     const lapack_int* vers_patch );
+void LAPACKE_ilaver( lapack_int* vers_major,
+                     lapack_int* vers_minor,
+                     lapack_int* vers_patch );
 
 
 #define LAPACK_sgetrf LAPACK_GLOBAL(sgetrf,SGETRF)
@@ -16435,8 +16435,8 @@
 void LAPACK_zsyr( char* uplo, lapack_int* n, lapack_complex_double* alpha,
                       const lapack_complex_double* x, lapack_int* incx,
                       lapack_complex_double* a, lapack_int* lda );
-void LAPACK_ilaver( const lapack_int* vers_major, const lapack_int* vers_minor,
-                     const lapack_int* vers_patch );
+void LAPACK_ilaver( lapack_int* vers_major, lapack_int* vers_minor,
+                     lapack_int* vers_patch );
 
 #ifdef __cplusplus
 }
diff -ru OpenBLAS-0.2.13/lapack-netlib/lapacke/src/lapacke_ilaver.c 
OpenBLAS-0.2.13.new/lapack-netlib/lapacke/src/lapacke_ilaver.c
--- OpenBLAS-0.2.13/lapack-netlib/lapacke/src/lapacke_ilaver.c  2014-12-03 
10:14:21.000000000 -0500
+++ OpenBLAS-0.2.13.new/lapack-netlib/lapacke/src/lapacke_ilaver.c      
2014-12-25 17:09:03.000000000 -0500
@@ -26,16 +26,16 @@
   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
   THE POSSIBILITY OF SUCH DAMAGE.
 *****************************************************************************
-* Contents: Native high-level C interface to LAPACK function dgesv
+* Contents: Native high-level C interface to LAPACK function ilaver
 * Author: Intel Corporation
 * Generated November, 2011
 *****************************************************************************/
 
 #include "lapacke_utils.h"
 
-void LAPACKE_ilaver( const lapack_int* vers_major,
-                     const lapack_int* vers_minor,
-                     const lapack_int* vers_patch )
+void LAPACKE_ilaver( lapack_int* vers_major,
+                     lapack_int* vers_minor,
+                     lapack_int* vers_patch )
 {
     /* Call LAPACK function */
     LAPACK_ilaver( vers_major, vers_minor, vers_patch );

<Prev in Thread] Current Thread [Next in Thread>
  • [Lapack] Correct C declaration of ilaver, Erik Schnetter <=


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or