Skip to content

Commit 04fd54f

Browse files
authored
refactor: improve type specificity in blas/base/ndarray/gdot
PR-URL: #11245 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 0cf9821 commit 04fd54f

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/ndarray/gdot/docs/types

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/blas/base/ndarray/gdot/docs/types/index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
/// <reference types="@stdlib/types"/>
2222

23-
import { ndarray } from '@stdlib/types/ndarray';
23+
import { typedndarray } from '@stdlib/types/ndarray';
2424

2525
/**
2626
* Computes the dot product of two one-dimensional ndarrays.
@@ -40,7 +40,7 @@ import { ndarray } from '@stdlib/types/ndarray';
4040
* var z = gdot( [ x, y ] );
4141
* // returns -5.0
4242
*/
43-
declare function gdot<T extends ndarray = ndarray>( arrays: [ T, T ] ): number;
43+
declare function gdot<T extends typedndarray<number> = typedndarray<number>>( arrays: [ T, T ] ): number;
4444

4545

4646
// EXPORTS //

0 commit comments

Comments
 (0)