From e8a90c5785b271b0f23eaeba088d74a91df104a4 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Fri, 12 Apr 2024 02:27:59 +0000 Subject: [PATCH] Auto-generated commit --- .github/workflows/test_coverage.yml | 5 +++-- base/tools/evalrational/README.md | 2 +- base/tools/evalrational/lib/main.js | 2 +- base/tools/evalrationalf/README.md | 2 +- base/tools/evalrationalf/lib/main.js | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test_coverage.yml b/.github/workflows/test_coverage.yml index f5410ddfa..2bcf0cdf2 100644 --- a/.github/workflows/test_coverage.yml +++ b/.github/workflows/test_coverage.yml @@ -84,11 +84,13 @@ jobs: - name: 'Upload coverage to Codecov' id: upload # Pin action to full length commit SHA - uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4 + uses: codecov/codecov-action@84508663e988701840491b86de86b666e8a86bed # v4.3.0 with: directory: reports/coverage flags: unittests fail_ci_if_error: true + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} # Extract coverage value: - name: 'Extract coverage value and assign to output' @@ -117,7 +119,6 @@ jobs: uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 # v3.16.2 with: status: ${{ job.status }} - steps: ${{ toJson(steps) }} channel: '#npm-ci' if: failure() diff --git a/base/tools/evalrational/README.md b/base/tools/evalrational/README.md index 35bd4426b..93832d366 100644 --- a/base/tools/evalrational/README.md +++ b/base/tools/evalrational/README.md @@ -76,7 +76,7 @@ Evaluates a [rational function][rational-function] at a value `x` using double-p var P = [ -6.0, -5.0 ]; var Q = [ 3.0, 0.5 ]; -var v = evalrational( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 ) / ( 3*6^0 + 0.5*6^1 ) = (-6-30)/(3+3) +var v = evalrational( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 ) / ( 3*6^0 + 0.5*6^1 ) = (-6-30)/(3+3) // returns -6.0 ``` diff --git a/base/tools/evalrational/lib/main.js b/base/tools/evalrational/lib/main.js index 2266e8552..2cda11612 100644 --- a/base/tools/evalrational/lib/main.js +++ b/base/tools/evalrational/lib/main.js @@ -57,7 +57,7 @@ var abs = require( './../../../../base/special/abs' ); * var P = [ -6.0, -5.0 ]; * var Q = [ 3.0, 0.5 ]; * -* var v = evalrational( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 ) / ( 3*6^0 + 0.5*6^1 ) = (-6-30)/(3+3) +* var v = evalrational( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 ) / ( 3*6^0 + 0.5*6^1 ) = (-6-30)/(3+3) * // returns -6.0 * * @example diff --git a/base/tools/evalrationalf/README.md b/base/tools/evalrationalf/README.md index 4b82c45fe..b8ca774b0 100644 --- a/base/tools/evalrationalf/README.md +++ b/base/tools/evalrationalf/README.md @@ -78,7 +78,7 @@ var Float32Array = require( '@stdlib/array/float32' ); var P = new Float32Array( [ -6.0, -5.0 ] ); var Q = new Float32Array( [ 3.0, 0.5 ] ); -var v = evalrationalf( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 ) / ( 3*6^0 + 0.5*6^1 ) = (-6-30)/(3+3) +var v = evalrationalf( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 ) / ( 3*6^0 + 0.5*6^1 ) = (-6-30)/(3+3) // returns -6.0 ``` diff --git a/base/tools/evalrationalf/lib/main.js b/base/tools/evalrationalf/lib/main.js index 83009f3bb..912fa3900 100644 --- a/base/tools/evalrationalf/lib/main.js +++ b/base/tools/evalrationalf/lib/main.js @@ -60,7 +60,7 @@ var absf = require( './../../../../base/special/absf' ); * var P = new Float32Array( [ -6.0, -5.0 ] ); * var Q = new Float32Array( [ 3.0, 0.5 ] ); * -* var v = evalrationalf( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 ) / ( 3*6^0 + 0.5*6^1 ) = (-6-30)/(3+3) +* var v = evalrationalf( P, Q, 6.0 ); // => ( -6*6^0 - 5*6^1 ) / ( 3*6^0 + 0.5*6^1 ) = (-6-30)/(3+3) * // returns -6.0 * * @example