Skip to content

Commit d000798

Browse files
committed
chore: clean-up
--- 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: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 2396134 commit d000798

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

  • lib/node_modules/@stdlib/ndarray/base/quaternary-tiling-block-size

lib/node_modules/@stdlib/ndarray/base/quaternary-tiling-block-size/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ var quaternaryBlockSize = require( '@stdlib/ndarray/base/quaternary-tiling-block
4242

4343
#### quaternaryBlockSize( dtypeX, dtypeY, dtypeZ, dtypeW, dtypeU )
4444

45-
Resolves a loop block size according to provided ndarray [dtypes][@stdlib/ndarray/dtypes] for multi-dimensional array tiled loops applying a ternary function.
45+
Resolves a loop block size according to provided ndarray [dtypes][@stdlib/ndarray/dtypes] for multi-dimensional array tiled loops applying a quaternary function.
4646

4747
```javascript
4848
var bsize = quaternaryBlockSize( 'float64', 'float64', 'float64', 'float64', 'float64' );

lib/node_modules/@stdlib/ndarray/base/quaternary-tiling-block-size/lib/main.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,15 @@ function quaternaryBlockSize( dtypeX, dtypeY, dtypeZ, dtypeW, dtypeU ) {
5454
nbw = bytesPerElement( dtypeW );
5555
nbu = bytesPerElement( dtypeU );
5656
if (
57-
nbx === null || nby === null ||
58-
nbz === null || nbw === null ||
57+
nbx === null ||
58+
nby === null ||
59+
nbz === null ||
60+
nbw === null ||
5961
nbu === null
6062
) { // e.g., "generic" arrays
6163
return defaults.BLOCK_SIZE_IN_ELEMENTS;
6264
}
63-
// Find the largest element size among all four arrays...
65+
// Find the largest element size among all five arrays...
6466
max = nbx;
6567
if ( nby > max ) {
6668
max = nby;

0 commit comments

Comments
 (0)