Skip to content

Commit 3dd8cb3

Browse files
committed
chore: minor 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: passed - 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 b403898 commit 3dd8cb3

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

lib/node_modules/@stdlib/math/base/special/floorf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ The function accepts the following arguments:
115115
- **x**: `[in] float` input value.
116116

117117
```c
118-
float stdlib_base_floor( const float x );
118+
float stdlib_base_floorf( const float x );
119119
```
120120
121121
</section>

lib/node_modules/@stdlib/math/base/special/kernel-betaincinv/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ function ibetaInvImp( a, b, p, q ) {
139139
invert = true;
140140
}
141141
// Depending upon which approximation method we use, we may end up calculating either x or y initially (where y = 1-x):
142-
x = 0.0; // Set to a safe zero to avoid a
142+
x = 0.0;
143143

144144
// For some of the methods we can put tighter bounds on the result than simply [0,1]:
145145
lower = 0.0;
@@ -241,7 +241,7 @@ function ibetaInvImp( a, b, p, q ) {
241241
p = tmp;
242242
invert = !invert;
243243
}
244-
// Try and compute the easy way first:
244+
// Try to compute the easy way first:
245245
bet = 0.0;
246246
if ( b < 2.0 ) {
247247
bet = beta( a, b );
@@ -295,7 +295,7 @@ function ibetaInvImp( a, b, p, q ) {
295295
upper = xs;
296296
}
297297
else if ( a > 1.0 && b > 1.0 ) {
298-
// Small a and b, both greater than 1, there is a point of inflection at xs, and it's complement is xs2, we must always start our iteration from the right side of the point of inflection.
298+
// Small a and b, both greater than 1, there is a point of inflection at xs, and its complement is xs2, we must always start our iteration from the right side of the point of inflection.
299299
xs = ( a-1.0 ) / ( a+b-2.0 );
300300
xs2 = ( b-1.0 ) / ( a+b-2.0 );
301301
ps = betainc( xs, a, b ) - p;

lib/node_modules/@stdlib/math/base/special/riemann-zeta/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ tape( 'if evaluated at a pole (`s = 1`), the function returns `NaN`', function t
8484
t.end();
8585
});
8686

87-
tape( 'the function returns `1` for all input values greater or equal than `56`', function test( t ) {
87+
tape( 'the function returns `1` for all input values greater than or equal to `56`', function test( t ) {
8888
var s;
8989
var v;
9090
var i;

lib/node_modules/@stdlib/math/base/special/riemann-zeta/test/test.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ tape( 'if evaluated at a pole (`s = 1`), the function returns `NaN`', opts, func
9393
t.end();
9494
});
9595

96-
tape( 'the function returns `1` for all input values greater or equal than `56`', opts, function test( t ) {
96+
tape( 'the function returns `1` for all input values greater than or equal to `56`', opts, function test( t ) {
9797
var s;
9898
var v;
9999
var i;

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.loss.epsilon_insensitive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ tape( 'the weights are unchanged for errors smaller than epsilon in magnitude (n
6060
t.end();
6161
});
6262

63-
tape( 'the sub-gradient of the linear loss times the learning rate is added to the weights for absolute errors greater or equal than epsilon (no regularization)', function test( t ) {
63+
tape( 'the sub-gradient of the linear loss times the learning rate is added to the weights for absolute errors greater than or equal to epsilon (no regularization)', function test( t ) {
6464
/* eslint-disable no-underscore-dangle */
6565
var expected;
6666
var weights;

lib/node_modules/@stdlib/ml/incr/sgd-regression/test/test.loss.huber.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ tape( 'the sub-gradient of the squared-error loss times the learning rate is add
6161
t.end();
6262
});
6363

64-
tape( 'the sub-gradient of the linear loss times the learning rate is added to the weights for absolute errors greater or equal than epsilon (no regularization)', function test( t ) {
64+
tape( 'the sub-gradient of the linear loss times the learning rate is added to the weights for absolute errors greater than or equal to epsilon (no regularization)', function test( t ) {
6565
/* eslint-disable no-underscore-dangle */
6666
var expected;
6767
var weights;

lib/node_modules/@stdlib/ndarray/base/assign/src/internal/sort2ins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* - The first array is sorted in increasing order according to absolute value.
2828
* - The algorithm has space complexity `O(1)` and worst case time complexity `O(N^2)`.
29-
* - The algorithm is efficient for small arrays (typically `N <= 20``) and is particularly efficient for sorting arrays which are already substantially sorted.
29+
* - The algorithm is efficient for small arrays (typically `N <= 20`) and is particularly efficient for sorting arrays which are already substantially sorted.
3030
* - The algorithm is **stable**, meaning that the algorithm does **not** change the order of array elements which are equal or equivalent.
3131
* - The input arrays are sorted in-place (i.e., the input arrays are mutated).
3232
*

lib/node_modules/@stdlib/ndarray/base/every/src/internal/sort2ins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* - The first array is sorted in increasing order according to absolute value.
2828
* - The algorithm has space complexity `O(1)` and worst case time complexity `O(N^2)`.
29-
* - The algorithm is efficient for small arrays (typically `N <= 20``) and is particularly efficient for sorting arrays which are already substantially sorted.
29+
* - The algorithm is efficient for small arrays (typically `N <= 20`) and is particularly efficient for sorting arrays which are already substantially sorted.
3030
* - The algorithm is **stable**, meaning that the algorithm does **not** change the order of array elements which are equal or equivalent.
3131
* - The input arrays are sorted in-place (i.e., the input arrays are mutated).
3232
*

lib/node_modules/@stdlib/ndarray/base/nullary-loop-interchange-order/lib/sort2ins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* - The first array is sorted in increasing order according to absolute value.
2929
* - The algorithm has space complexity `O(1)` and worst case time complexity `O(N^2)`.
30-
* - The algorithm is efficient for small arrays (typically `N <= 20``) and is particularly efficient for sorting arrays which are already substantially sorted.
30+
* - The algorithm is efficient for small arrays (typically `N <= 20`) and is particularly efficient for sorting arrays which are already substantially sorted.
3131
* - The algorithm is **stable**, meaning that the algorithm does **not** change the order of array elements which are equal or equivalent.
3232
* - The input arrays are sorted in-place (i.e., the input arrays are mutated).
3333
*

lib/node_modules/@stdlib/ndarray/base/nullary/src/internal/sort2ins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* - The first array is sorted in increasing order according to absolute value.
2828
* - The algorithm has space complexity `O(1)` and worst case time complexity `O(N^2)`.
29-
* - The algorithm is efficient for small arrays (typically `N <= 20``) and is particularly efficient for sorting arrays which are already substantially sorted.
29+
* - The algorithm is efficient for small arrays (typically `N <= 20`) and is particularly efficient for sorting arrays which are already substantially sorted.
3030
* - The algorithm is **stable**, meaning that the algorithm does **not** change the order of array elements which are equal or equivalent.
3131
* - The input arrays are sorted in-place (i.e., the input arrays are mutated).
3232
*

lib/node_modules/@stdlib/ndarray/base/unary-accumulate/src/internal/sort2ins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* - The first array is sorted in increasing order according to absolute value.
2828
* - The algorithm has space complexity `O(1)` and worst case time complexity `O(N^2)`.
29-
* - The algorithm is efficient for small arrays (typically `N <= 20``) and is particularly efficient for sorting arrays which are already substantially sorted.
29+
* - The algorithm is efficient for small arrays (typically `N <= 20`) and is particularly efficient for sorting arrays which are already substantially sorted.
3030
* - The algorithm is **stable**, meaning that the algorithm does **not** change the order of array elements which are equal or equivalent.
3131
* - The input arrays are sorted in-place (i.e., the input arrays are mutated).
3232
*

lib/node_modules/@stdlib/ndarray/base/unary-loop-interchange-order/lib/sort2ins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*
2828
* - The first array is sorted in increasing order according to absolute value.
2929
* - The algorithm has space complexity `O(1)` and worst case time complexity `O(N^2)`.
30-
* - The algorithm is efficient for small arrays (typically `N <= 20``) and is particularly efficient for sorting arrays which are already substantially sorted.
30+
* - The algorithm is efficient for small arrays (typically `N <= 20`) and is particularly efficient for sorting arrays which are already substantially sorted.
3131
* - The algorithm is **stable**, meaning that the algorithm does **not** change the order of array elements which are equal or equivalent.
3232
* - The input arrays are sorted in-place (i.e., the input arrays are mutated).
3333
*

lib/node_modules/@stdlib/ndarray/base/unary/src/internal/sort2ins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
* - The first array is sorted in increasing order according to absolute value.
2828
* - The algorithm has space complexity `O(1)` and worst case time complexity `O(N^2)`.
29-
* - The algorithm is efficient for small arrays (typically `N <= 20``) and is particularly efficient for sorting arrays which are already substantially sorted.
29+
* - The algorithm is efficient for small arrays (typically `N <= 20`) and is particularly efficient for sorting arrays which are already substantially sorted.
3030
* - The algorithm is **stable**, meaning that the algorithm does **not** change the order of array elements which are equal or equivalent.
3131
* - The input arrays are sorted in-place (i.e., the input arrays are mutated).
3232
*

0 commit comments

Comments
 (0)