Skip to content

Commit 498ea05

Browse files
committed
fix: style fix
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed --- --- type: pre_push_report description: Results of running various checks prior to pushing changes. report: - task: run_javascript_examples status: na - task: run_c_examples status: na - task: run_cpp_examples status: na - task: run_javascript_readme_examples status: failed ---
1 parent 556f4f5 commit 498ea05

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

lib/node_modules/@stdlib/blas/base/cdotc/test/test.cdotc.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ tape( 'the function calculates the dot product of vectors `x` and `y`', function
4545
var x;
4646
var y;
4747

48-
x = new Complex64Array( [
48+
x = new Complex64Array([
4949
0.7, // 0
5050
-0.8, // 0
5151
-0.4, // 1
5252
-0.7 // 1
53-
] );
54-
y = new Complex64Array( [
53+
]);
54+
y = new Complex64Array([
5555
0.6, // 0
5656
-0.6, // 0
5757
-0.9, // 1
5858
0.5 // 1
59-
] );
59+
]);
6060
expected = new Complex64( 0.91, -0.77 );
6161

6262
dot = cdotc( x.length, x, 1, y, 1 );
@@ -154,7 +154,7 @@ tape( 'the function supports an `y` stride', function test( t ) {
154154
var x;
155155
var y;
156156

157-
x = new Complex64Array([
157+
x = new Complex64Array( [
158158
7, // 0
159159
-8, // 0
160160
-4, // 1

lib/node_modules/@stdlib/blas/base/cdotc/test/test.ndarray.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@ tape( 'the function calculates the dot product of complex vectors `x` and `y`',
4545
var x;
4646
var y;
4747

48-
x = new Complex64Array( [
48+
x = new Complex64Array([
4949
0.7, // 0
5050
-0.8, // 0
5151
-0.4, // 1
5252
-0.7 // 1
53-
] );
54-
y = new Complex64Array( [
53+
]);
54+
y = new Complex64Array([
5555
0.6, // 0
5656
-0.6, // 0
5757
-0.9, // 1
5858
0.5 // 1
59-
] );
59+
]);
6060
expected = new Complex64( 0.91, -0.77 );
6161

6262
dot = cdotc( x.length, x, 1, 0, y, 1, 0 );

0 commit comments

Comments
 (0)