Skip to content

Commit c76fe84

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent d3da8a4 commit c76fe84

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/node_modules/@stdlib/blas/ext/base/ssort/benchmark/c/unsorted-random/benchmark.length.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include <time.h>
2424
#include <sys/time.h>
2525

26-
#define NAME "dsort"
26+
#define NAME "ssort"
2727
#define ITERATIONS 10000000
2828
#define REPEATS 3
2929
#define MIN 1
@@ -185,7 +185,7 @@ int main( void ) {
185185
iter = ITERATIONS / pow( 10, i-1 );
186186
for ( j = 0; j < REPEATS; j++ ) {
187187
count += 1;
188-
printf( "# c::%s:ndarray:unsorted,random:len=%d\n", NAME, len );
188+
printf( "# c::%s::unsorted,random:ndarray:len=%d\n", NAME, len );
189189
elapsed = benchmark2( iter, len );
190190
print_results( iter, elapsed );
191191
printf( "ok %d benchmark finished\n", count );

lib/node_modules/@stdlib/blas/ext/base/ssort/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ int main( void ) {
3030
int strideX = 1;
3131

3232
// Sort the array:
33-
stdlib_strided_dsort( N, 1.0f, x, strideX );
33+
stdlib_strided_ssort( N, 1.0f, x, strideX );
3434

3535
// Print the result:
3636
for ( int i = 0; i < 8; i++ ) {

0 commit comments

Comments
 (0)