Skip to content

Commit

Permalink
docs: fix REPL help files for floating-point arrays
Browse files Browse the repository at this point in the history
PR-URL: #2281
Reviewed-by: Athan Reines <kgryte@gmail.com>
  • Loading branch information
Jaysukh-409 authored Jun 1, 2024
1 parent 9a52dfc commit 2e9149c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions lib/node_modules/@stdlib/array/float32/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
element1: number (optional)
Array element.

elementN: number (optional)
elementN: ...number (optional)
Array elements.

Returns
Expand Down Expand Up @@ -600,7 +600,7 @@
Returns
-------
idx: integer
array index.
Array index.

Examples
--------
Expand Down Expand Up @@ -639,7 +639,7 @@
--------
> var arr1 = new {{alias}}( [ 1.0, 0.0, -1.0 ] );
> function fcn( v ) { return v * 2.0; };
> var arr2 = arr1.map( fcn );
> var arr2 = arr1.map( fcn )
<Float32Array>[ 2.0, 0.0, -2.0 ]


Expand Down Expand Up @@ -736,7 +736,7 @@
Examples
--------
> var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] )
<Float32Array>[ 1.0, 0.0, -1.0 ]
<Float32Array>
> arr.reverse()
<Float32Array>[ -1.0, 0.0, 1.0 ]

Expand Down
8 changes: 4 additions & 4 deletions lib/node_modules/@stdlib/array/float64/docs/repl.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@
element1: number (optional)
Array element.

elementN: number (optional)
elementN: ...number (optional)
Array elements.

Returns
Expand Down Expand Up @@ -600,7 +600,7 @@
Returns
-------
idx: integer
array index.
Array index.

Examples
--------
Expand Down Expand Up @@ -639,7 +639,7 @@
--------
> var arr1 = new {{alias}}( [ 1.0, 0.0, -1.0 ] );
> function fcn( v ) { return v * 2.0; };
> var arr2 = arr1.map( fcn );
> var arr2 = arr1.map( fcn )
<Float64Array>[ 2.0, 0.0, -2.0 ]


Expand Down Expand Up @@ -736,7 +736,7 @@
Examples
--------
> var arr = new {{alias}}( [ 1.0, 0.0, -1.0 ] )
<Float64Array>[ 1.0, 0.0, -1.0 ]
<Float64Array>
> arr.reverse()
<Float64Array>[ -1.0, 0.0, 1.0 ]

Expand Down

1 comment on commit 2e9149c

@stdlib-bot
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
array/float32 $\color{green}117/117$
$\color{green}+100.00\%$
$\color{red}6/7$
$\color{green}+85.71\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}117/117$
$\color{green}+100.00\%$
array/float64 $\color{green}117/117$
$\color{green}+100.00\%$
$\color{red}6/7$
$\color{green}+85.71\%$
$\color{green}1/1$
$\color{green}+100.00\%$
$\color{green}117/117$
$\color{green}+100.00\%$

The above coverage report was generated for the changes in this push.

Please sign in to comment.