Skip to content

Commit 2b67d75

Browse files
committed
docs: fix examples and resolve lint error
--- 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: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - 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 ---
1 parent a934d8c commit 2b67d75

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/ndarray/base/nullary/src

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/ndarray/base/nullary/src/dispatch.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,13 +166,13 @@ static int8_t stdlib_ndarray_nullary_1d_flatten( const ndarrayNullaryFcn f, cons
166166
* // Create a nullary function dispatch object:
167167
* struct ndarrayNullaryDispatchObject obj = {
168168
* // Array containing nullary ndarray functions:
169-
* nullary,
169+
* functions,
170170
*
171171
* // Number of nullary ndarray functions:
172172
* 12,
173173
*
174174
* // Array containing nullary ndarray functions using loop blocking:
175-
* blocked_nullary,
175+
* blocked_functions,
176176
*
177177
* // Number of nullary ndarray functions using loop blocking:
178178
* 9
@@ -209,11 +209,11 @@ static int8_t stdlib_ndarray_nullary_1d_flatten( const ndarrayNullaryFcn f, cons
209209
*/
210210
int8_t stdlib_ndarray_nullary_dispatch( const struct ndarrayNullaryDispatchObject *obj, struct ndarray *arrays[], void *fcn ) {
211211
struct ndarray *x1;
212+
const int64_t *sh1;
212213
int8_t status;
213214
int64_t ndims;
214215
int64_t mab1;
215216
int64_t mib1;
216-
int64_t *sh1;
217217
int64_t *s1;
218218
int64_t len;
219219
int64_t bp1;

0 commit comments

Comments
 (0)