Skip to content

Commit 90a8006

Browse files
authored
chore: minor clean-up
Signed-off-by: Shabareesh Shetty <[email protected]>
1 parent 0c6bd31 commit 90a8006

File tree

1 file changed

+5
-2
lines changed
  • lib/node_modules/@stdlib/blas/base/zdotc

1 file changed

+5
-2
lines changed

lib/node_modules/@stdlib/blas/base/zdotc/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ var Complex128 = require( '@stdlib/complex/float32/ctor' );
135135
var zdotc = require( '@stdlib/blas/base/zdotc' );
136136

137137
function rand() {
138-
return new Complex128( discreteUniform( 0, 10 ), discreteUniform( 1, 5 ) );
138+
return new Complex128( discreteUniform( 0, 10 ), discreteUniform( 1, 5 ) );
139139
}
140140

141141
var x = filledarrayBy( 10, 'complex128', rand );
@@ -145,7 +145,10 @@ var y = filledarrayBy( 10, 'complex128', rand );
145145
console.log( y.toString() );
146146

147147
// Perform dot product of x and y
148-
var z = zdotc.ndarray( x.length, x, 1, 0, y, 1, 0 );
148+
var z = zdotc( x.length, x, 1, y, 1 );
149+
console.log( z );
150+
151+
z = zdotc.ndarray( x.length, x, 1, 0, y, 1, 0 );
149152
console.log( z );
150153
```
151154

0 commit comments

Comments
 (0)