Skip to content

Commit d7ad94a

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/blas/ext/base/gvander/lib

lib/node_modules/@stdlib/blas/ext/base/gvander/lib/base.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function gvander( mode, M, N, x, strideX, offsetX, out, strideOut1, strideOut2,
101101
}
102102
// Decreasing: x^(N-1), x^(N-2), ..., x^0
103103
do1 = strideOut1 + ( S0*strideOut2 );
104-
io = offsetOut + ( ( S0-1 ) * do0 );
104+
io = offsetOut + ( ( S0-1 ) * strideOut2 );
105105
for ( i1 = 0; i1 < S1; i1++ ) {
106106
out[ io ] = 1.0;
107107
io -= do0;

0 commit comments

Comments
 (0)