Skip to content

Commit b11331b

Browse files
committed
Add comments
1 parent b7a453f commit b11331b

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/gdot/lib

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/gdot/lib/main.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ function gdot( x, y ) {
6464

6565
isxa = isndarrayLike( x );
6666
isya = isndarrayLike( y );
67-
isxv = isxa && x.ndims === 1 && x.strides.length === 1;
68-
isyv = isya && y.ndims === 1 && y.strides.length === 1;
67+
isxv = isxa && x.ndims === 1 && x.strides.length === 1; // is ndarray-like vector?
68+
isyv = isya && y.ndims === 1 && y.strides.length === 1; // is ndarray-like vector?
6969
if ( isxv ) {
7070
isxf64 = isFloat64Array( x.data );
7171
isxf32 = ( isxf64 ) ? false : isFloat32Array( x.data );

0 commit comments

Comments
 (0)