-
-
Notifications
You must be signed in to change notification settings - Fork 838
feat: add blas/base/wasm/scnrm2
#6791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
--- 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: passed - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: passed - 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: passed - task: lint_license_headers status: passed ---
Coverage Report
The above coverage report was generated for the changes in this PR. |
/stdlbi update-copyright-years |
Signed-off-by: Shabareesh Shetty <[email protected]>
Signed-off-by: Shabareesh Shetty <[email protected]>
/stdlib update-copyright-years |
Signed-off-by: Athan <[email protected]>
lib/node_modules/@stdlib/blas/base/wasm/scnrm2/benchmark/benchmark.module.main.js
Outdated
Show resolved
Hide resolved
lib/node_modules/@stdlib/blas/base/wasm/scnrm2/benchmark/benchmark.module.ndarray.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Athan <[email protected]>
lib/node_modules/@stdlib/blas/base/wasm/scnrm2/test/test.main.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Athan <[email protected]>
lib/node_modules/@stdlib/blas/base/wasm/scnrm2/test/test.module.ndarray.js
Outdated
Show resolved
Hide resolved
Signed-off-by: Athan <[email protected]>
// FUNCTIONS // | ||
|
||
/** | ||
* Tests for element-wise approximate equality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ShabiShett07 Why are we testing for element-wise equality? The value returns a scalar, not an array. This same comment applies to all the tests. I am pretty sure these tests are all broken due to incorrect arguments. E.g., expected.length
is undefined, as a number has no length
property; hence, the loop never runs.
* @param {Collection} expected - expected values | ||
* @param {number} rtol - relative tolerance | ||
*/ | ||
function isApprox( t, actual, expected, rtol ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment.
* @param {Collection} expected - expected values | ||
* @param {number} rtol - relative tolerance | ||
*/ | ||
function isApprox( t, actual, expected, rtol ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment.
* @param {Collection} expected - expected values | ||
* @param {number} rtol - relative tolerance | ||
*/ | ||
function isApprox( t, actual, expected, rtol ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other than the broken tests, this PR is looking good.
type: pre_commit_static_analysis_report
description: Results of running static analysis checks when committing changes. report:
none
Description
This pull request:
blas/base/wasm/scnrm2
Related Issues
This pull request:
Questions
No.
Other
No.
Checklist
@stdlib-js/reviewers