Skip to content

Commit 16ce41e

Browse files
committed
docs: improve doctests for ndarray instances in blas namespace
Propagates fix from 97d6f49 ("docs: improve doctests for ndarray instances in `blas/sdot`") to the `sdot` @example entry in `blas/docs/types/index.d.ts`, collapsing the `// returns <ndarray>` + `var v = z.get();` two-step pattern into the inline `<ndarray>[ -5.0 ]` form used by the adjacent `ddot` entry.
1 parent 7d1fee9 commit 16ce41e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • lib/node_modules/@stdlib/blas/docs/types

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,10 +188,7 @@ interface Namespace {
188188
* var y = array( new Float32Array( [ 2.0, 6.0, -1.0, -4.0, 8.0 ] ) );
189189
*
190190
* var z = ns.sdot( x, y );
191-
* // returns <ndarray>
192-
*
193-
* var v = z.get();
194-
* // returns -5.0
191+
* // returns <ndarray>[ -5.0 ]
195192
*/
196193
sdot: typeof sdot;
197194

0 commit comments

Comments
 (0)