diff --git a/lib/node_modules/@stdlib/stats/base/smeanors/benchmark/c/benchmark.length.c b/lib/node_modules/@stdlib/stats/base/smeanors/benchmark/c/benchmark.length.c index 6d0d385a7436..18ec7a511a6f 100644 --- a/lib/node_modules/@stdlib/stats/base/smeanors/benchmark/c/benchmark.length.c +++ b/lib/node_modules/@stdlib/stats/base/smeanors/benchmark/c/benchmark.length.c @@ -96,7 +96,7 @@ static float rand_float( void ) { */ static double benchmark( int iterations, int len ) { double elapsed; - float x[ len ]; + double x[ len ]; float v; double t; int i; diff --git a/lib/node_modules/@stdlib/strided/base/dmskmap/examples/c/example.c b/lib/node_modules/@stdlib/strided/base/dmskmap/examples/c/example.c index b7f829860183..e91615871552 100644 --- a/lib/node_modules/@stdlib/strided/base/dmskmap/examples/c/example.c +++ b/lib/node_modules/@stdlib/strided/base/dmskmap/examples/c/example.c @@ -28,10 +28,10 @@ static double scale( const double x ) { int main( void ) { // Create an input strided array: - double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 }; + const double X[] = { 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 }; // Create a mask strided array: - uint8_t M[] = { 0, 0, 1, 0, 0, 1 }; + const uint8_t M[] = { 0, 0, 1, 0, 0, 1 }; // Create an output strided array: double Y[] = { 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 };