diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/10d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/10d.h index e2d8eeef1e61..42637c9c96fa 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/10d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/10d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -192,7 +192,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -385,7 +385,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_10D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_10D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_10D_LOOP_EPILOGUE @@ -409,7 +409,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_10D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_10D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_10D_LOOP_EPILOGUE @@ -435,7 +435,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_10D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_10D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_10D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/10d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/10d_blocked.h index f3184431d0e5..544646edb16f 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/10d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/10d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -322,7 +322,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -656,7 +656,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_EPILOGUE @@ -680,7 +680,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_EPILOGUE @@ -706,7 +706,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_10D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/1d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/1d.h index 1c6bca5e9fa1..8f0e712b99e9 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/1d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/1d.h @@ -44,7 +44,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d0x2; \ @@ -84,7 +84,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -133,7 +133,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_1D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_1D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_1D_LOOP_EPILOGUE @@ -157,7 +157,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_1D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_1D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_1D_LOOP_EPILOGUE @@ -183,7 +183,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_1D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_1D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_1D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/2d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/2d.h index a492712639a3..90d91118266b 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/2d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/2d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -104,7 +104,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -177,7 +177,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_2D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_2D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_2D_LOOP_EPILOGUE @@ -201,7 +201,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_2D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_2D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_2D_LOOP_EPILOGUE @@ -227,7 +227,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_2D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_2D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_2D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/2d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/2d_blocked.h index 2aea5ebf4fe5..580fce224a99 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/2d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/2d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -162,7 +162,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -288,7 +288,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_EPILOGUE @@ -312,7 +312,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_EPILOGUE @@ -338,7 +338,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_2D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/3d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/3d.h index b41f717d3f2a..b6bc003f83c9 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/3d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/3d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -115,7 +115,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -203,7 +203,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_3D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_3D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_3D_LOOP_EPILOGUE @@ -227,7 +227,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_3D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_3D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_3D_LOOP_EPILOGUE @@ -253,7 +253,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_3D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_3D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_3D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/3d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/3d_blocked.h index ac13cc1d39be..91771dd1a247 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/3d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/3d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -182,7 +182,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -334,7 +334,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_EPILOGUE @@ -358,7 +358,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_EPILOGUE @@ -384,7 +384,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_3D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/4d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/4d.h index 714dc55ec2ab..efb78ed7f7ef 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/4d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/4d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -126,7 +126,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -229,7 +229,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_4D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_4D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_4D_LOOP_EPILOGUE @@ -253,7 +253,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_4D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_4D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_4D_LOOP_EPILOGUE @@ -279,7 +279,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_4D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_4D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_4D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/4d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/4d_blocked.h index aed2bfdc3f41..ad9e4c33560b 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/4d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/4d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -202,7 +202,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -380,7 +380,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_EPILOGUE @@ -404,7 +404,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_EPILOGUE @@ -430,7 +430,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_4D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/5d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/5d.h index fb6a42cdf17f..d7e9dbf9eba6 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/5d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/5d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -137,7 +137,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -255,7 +255,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_5D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_5D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_5D_LOOP_EPILOGUE @@ -279,7 +279,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_5D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_5D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_5D_LOOP_EPILOGUE @@ -305,7 +305,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_5D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_5D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_5D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/5d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/5d_blocked.h index e7640d8f836d..922c17b9b06c 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/5d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/5d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -222,7 +222,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -426,7 +426,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_EPILOGUE @@ -450,7 +450,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_EPILOGUE @@ -476,7 +476,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_5D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/6d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/6d.h index 3d436bb3ba59..9178d9674749 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/6d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/6d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -148,7 +148,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -281,7 +281,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_6D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_6D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_6D_LOOP_EPILOGUE @@ -305,7 +305,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_6D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_6D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_6D_LOOP_EPILOGUE @@ -331,7 +331,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_6D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_6D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_6D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/6d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/6d_blocked.h index f5a469aee57e..2d7ba4f62e4d 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/6d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/6d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -242,7 +242,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -472,7 +472,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_EPILOGUE @@ -496,7 +496,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_EPILOGUE @@ -522,7 +522,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_6D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/7d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/7d.h index f2adf6ab281d..25542268b27a 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/7d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/7d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -159,7 +159,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -331,7 +331,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_7D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_7D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_7D_LOOP_EPILOGUE @@ -357,7 +357,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_7D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_7D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_7D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/7d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/7d_blocked.h index 406e1ec41f23..ba07615475c1 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/7d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/7d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -262,7 +262,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -518,7 +518,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_EPILOGUE @@ -542,7 +542,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_EPILOGUE @@ -568,7 +568,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_7D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/8d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/8d.h index 01abf3584832..569709de9f20 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/8d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/8d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -170,7 +170,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -333,7 +333,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_8D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_8D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_8D_LOOP_EPILOGUE @@ -357,7 +357,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_8D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_8D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_8D_LOOP_EPILOGUE @@ -383,7 +383,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_8D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_8D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_8D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/8d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/8d_blocked.h index eda7152f2e14..d2965503e2a3 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/8d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/8d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -282,7 +282,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -564,7 +564,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_EPILOGUE @@ -588,7 +588,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_EPILOGUE @@ -614,7 +614,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_8D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/9d.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/9d.h index 252a8b8a45d3..4846c578a4b2 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/9d.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/9d.h @@ -45,7 +45,7 @@ int64_t *shape = stdlib_ndarray_shape( x1 ); \ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ int64_t d0x1; \ int64_t d1x1; \ @@ -181,7 +181,7 @@ int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ - uint8_t *px1 = stdlib_ndarray_data( x1 ); \ + const uint8_t *px1 = stdlib_ndarray_data( x1 ); \ uint8_t *px2 = stdlib_ndarray_data( x2 ); \ uint8_t *px3 = stdlib_ndarray_data( x3 ); \ int64_t d0x1; \ @@ -359,7 +359,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_9D_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_9D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_9D_LOOP_EPILOGUE @@ -383,7 +383,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_9D_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_9D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_9D_LOOP_EPILOGUE @@ -409,7 +409,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_9D_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_9D_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_9D_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/9d_blocked.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/9d_blocked.h index 40a0fcf34af5..4e0eb3beabb9 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/9d_blocked.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/9d_blocked.h @@ -55,7 +55,7 @@ int64_t bsize; \ uint8_t *pbx1; \ uint8_t *pbx2; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ int64_t d0x1; \ int64_t d1x1; \ @@ -302,7 +302,7 @@ uint8_t *pbx1; \ uint8_t *pbx2; \ uint8_t *pbx3; \ - uint8_t *px1; \ + const uint8_t *px1; \ uint8_t *px2; \ uint8_t *px3; \ int64_t d0x1; \ @@ -610,7 +610,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_EPILOGUE @@ -634,7 +634,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_EPILOGUE @@ -660,7 +660,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_9D_BLOCKED_LOOP_EPILOGUE diff --git a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/nd.h b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/nd.h index 7a357edb792a..33a8c18c1917 100644 --- a/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/nd.h +++ b/lib/node_modules/@stdlib/ndarray/base/assign/include/stdlib/ndarray/base/assign/macros/nd.h @@ -53,7 +53,7 @@ uint8_t *pbx1 = stdlib_ndarray_data( x1 ); \ uint8_t *pbx2 = stdlib_ndarray_data( x2 ); \ int64_t ndims = stdlib_ndarray_ndims( x1 ); \ - int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ + const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t ox1 = stdlib_ndarray_offset( x1 ); \ int64_t ox2 = stdlib_ndarray_offset( x2 ); \ @@ -98,7 +98,7 @@ uint8_t *pbx2 = stdlib_ndarray_data( x2 ); \ uint8_t *pbx3 = stdlib_ndarray_data( x3 ); \ int64_t ndims = stdlib_ndarray_ndims( x1 ); \ - int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ + const int64_t *sx1 = stdlib_ndarray_strides( x1 ); \ int64_t *sx2 = stdlib_ndarray_strides( x2 ); \ int64_t *sx3 = stdlib_ndarray_strides( x3 ); \ int64_t ox1 = stdlib_ndarray_offset( x1 ); \ @@ -146,7 +146,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_ND_LOOP_CAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_ND_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = (tout)x; \ } \ STDLIB_NDARRAY_ASSIGN_ND_LOOP_EPILOGUE @@ -170,7 +170,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_ND_LOOP_NOCAST( tin, tout ) \ STDLIB_NDARRAY_ASSIGN_ND_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = x; \ } \ STDLIB_NDARRAY_ASSIGN_ND_LOOP_EPILOGUE @@ -196,7 +196,7 @@ */ #define STDLIB_NDARRAY_ASSIGN_ND_LOOP_CAST_FCN( tin, tout, cout ) \ STDLIB_NDARRAY_ASSIGN_ND_LOOP_PREAMBLE { \ - const tin x = *(tin *)px1; \ + const tin x = *(const tin *)px1; \ *(tout *)px2 = cout( x ); \ } \ STDLIB_NDARRAY_ASSIGN_ND_LOOP_EPILOGUE