Skip to content

Commit b2fb37d

Browse files
committed
Use Single Precision Utilities and fix description in repl
1 parent 78f1e82 commit b2fb37d

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

lib/node_modules/@stdlib/blas/base/ndarray/zscal/benchmark/benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222

2323
var bench = require( '@stdlib/bench' );
2424
var uniform = require( '@stdlib/random/array/uniform' );
25-
var isnanf = require( '@stdlib/math/base/assert/is-nanf' );
26-
var realf = require( '@stdlib/complex/float64/real' );
25+
var isnan = require( '@stdlib/math/base/assert/is-nan' );
26+
var real = require( '@stdlib/complex/float64/real' );
2727
var pow = require( '@stdlib/math/base/special/pow' );
2828
var scalar2ndarray = require( '@stdlib/ndarray/from-scalar' );
2929
var Complex128Vector = require( '@stdlib/ndarray/vector/complex128' );
@@ -81,7 +81,7 @@ function createBenchmark( len ) {
8181
}
8282
}
8383
b.toc();
84-
if ( isnanf( realf( z.get( i%len ) ) ) ) {
84+
if ( isnan( real( z.get( i%len ) ) ) ) {
8585
b.fail( 'should not return NaN' );
8686
}
8787
b.pass( 'benchmark finished' );

lib/node_modules/@stdlib/blas/base/ndarray/zscal/docs/repl.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
{{alias}}( arrays )
3-
Multiplies a one-dimensional double-precision complex floating-point
4-
ndarray by a scalar constant.
3+
Multiplies a one-dimensional double-precision complex floating-point ndarray
4+
by a scalar constant.
55

66
If provided an empty input ndarray, the function returns the input ndarray
77
unchanged.
@@ -12,7 +12,7 @@
1212
Array-like object containing the following ndarrays:
1313

1414
- a one-dimensional input ndarray.
15-
- a zero-dimensional ndarray containing a scalar constant `alpha`.
15+
- a zero-dimensional ndarray containing a scalar constant.
1616

1717
Returns
1818
-------

0 commit comments

Comments
 (0)