Skip to content

Commit e5da0c5

Browse files
headlessNodekgryte
andauthored
refactor: apply review suggestion
Co-authored-by: Athan <[email protected]> Signed-off-by: Muhammad Haris <[email protected]>
1 parent ef422da commit e5da0c5

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/gcusumkbn/docs/types

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/blas/ext/base/gcusumkbn/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ interface Routine {
5454
* gcusumkbn( x.length, 0.0, x, 1, y, 1 );
5555
* // y => [ 1.0, -1.0, 1.0 ]
5656
*/
57-
( N: number, sum: number, x: InputArray, strideX: number, y: OutputArray, strideY: number ): OutputArray;
57+
<T extends OutputArray>( N: number, sum: number, x: InputArray, strideX: number, y: T, strideY: number ): T;
5858

5959
/**
6060
* Computes the cumulative sum of strided array elements using an improved Kahan–Babuška algorithm and alternative indexing semantics.

0 commit comments

Comments
 (0)