Skip to content

Commit b6dbcd6

Browse files
fix: improve documentation and remove unnecessary dependencies in ssort2hp
--- 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 --- --- 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: na - task: run_c_benchmarks status: na - task: run_cpp_benchmarks status: na - task: run_fortran_benchmarks status: na - task: run_javascript_benchmarks status: na - task: run_julia_benchmarks status: na - task: run_python_benchmarks status: na - task: run_r_benchmarks status: na - task: run_javascript_tests status: na ---
1 parent 1ac5bc9 commit b6dbcd6

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

lib/node_modules/@stdlib/blas/ext/base/ssort2hp/manifest.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"dependencies": [
3939
"@stdlib/math/base/assert/is-nanf",
4040
"@stdlib/math/base/assert/is-positive-zerof",
41-
"@stdlib/math/base/special/floor",
4241
"@stdlib/strided/base/stride2offset",
4342
"@stdlib/blas/base/shared",
4443
"@stdlib/napi/export",
@@ -60,7 +59,6 @@
6059
"libpath": [],
6160
"dependencies": [
6261
"@stdlib/math/base/assert/is-nanf",
63-
"@stdlib/math/base/special/floor",
6462
"@stdlib/math/base/assert/is-positive-zerof",
6563
"@stdlib/strided/base/stride2offset",
6664
"@stdlib/blas/base/shared"
@@ -78,7 +76,6 @@
7876
"libpath": [],
7977
"dependencies": [
8078
"@stdlib/math/base/assert/is-nanf",
81-
"@stdlib/math/base/special/floor",
8279
"@stdlib/math/base/assert/is-positive-zerof",
8380
"@stdlib/strided/base/stride2offset",
8481
"@stdlib/blas/base/shared"

lib/node_modules/@stdlib/blas/ext/base/ssort2hp/src/main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
#include "stdlib/blas/ext/base/ssort2hp.h"
2020
#include "stdlib/math/base/assert/is_positive_zerof.h"
2121
#include "stdlib/math/base/assert/is_nanf.h"
22-
#include "stdlib/math/base/special/floor.h"
2322
#include "stdlib/strided/base/stride2offset.h"
2423
#include "stdlib/blas/base/shared.h"
2524

@@ -97,7 +96,7 @@ void API_SUFFIX(stdlib_strided_ssort2hp_ndarray)( const CBLAS_INT N, const float
9796
n = N;
9897

9998
// Specify an initial "parent" index for building the heap:
100-
parent = stdlib_base_floor( N / 2 );
99+
parent = N / 2;
101100

102101
// Continue looping until the array is sorted...
103102
while ( true ) {

0 commit comments

Comments
 (0)