Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Signed-off-by: Athan <[email protected]>
  • Loading branch information
kgryte authored Oct 2, 2024
1 parent 78beb1b commit 2c62da6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/blas/base/isamax/src/isamax_f.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ CBLAS_INT API_SUFFIX(c_isamax)( const CBLAS_INT N, const float *X, const CBLAS_I
CBLAS_INT sx;
float *copyX;

if( strideX < 0 ) {
if ( strideX < 0 ) {
// Allocate memory for a temporary workspace:
copyX = (float *)malloc( N * sizeof(float) );
if ( copyX == NULL ) {
Expand Down Expand Up @@ -73,7 +73,7 @@ CBLAS_INT API_SUFFIX(c_isamax_ndarray)( const CBLAS_INT N, const float *X, const
CBLAS_INT sx;
float *copyX;

if( strideX < 0 ) {
if ( strideX < 0 ) {
// Allocate memory for a temporary workspace:
copyX = (float *)malloc( N * sizeof(float) );
if ( copyX == NULL ) {
Expand Down

0 comments on commit 2c62da6

Please sign in to comment.