Skip to content

Commit

Permalink
build: add further backslashes and remove blank comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Aug 3, 2023
1 parent 33a5bc7 commit 64c8e5a
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/scripts/run_tests_coverage
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ main() {

# For each package, extract coverage value from the respective coverage report:
pkg=`echo $package | sed -E 's/^.*stdlib\///'`
pkg_cov=$(cat reports/coverage/lcov-report/$pkg/lib/index.html | grep "fraction" | grep -oP '\d+/\d+' | awk -F'/' '{if ($1<$2) print "$\\color{red}" $0 "$"; else print "$\\color{green}" $0 "$"}' | jq -R -s -c 'split("\n")')
pkg_cov=$(cat reports/coverage/lcov-report/$pkg/lib/index.html | grep "fraction" | grep -oP '\d+/\d+' | awk -F'/' '{if ($1<$2) print "$\\\\color{red}" $0 "$"; else print "$\\\\color{green}" $0 "$"}' | jq -R -s -c 'split("\n")')
pkg_url="https://github.com/${github_repo}/tree/${github_ref}/${package}"
pkg_link="<a href="$pkg_url">$pkg</a>"
coverage="$coverage\n| $pkg_link $pkg_cov"
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/random/base/gamma/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ var factory = require( './factory.js' );
*
* - Marsaglia, George, and Wai Wan Tsang. 2000. "A Simple Method for Generating Gamma Variables." _ACM Transactions on Mathematical Software_ 26 (3). New York, NY, USA: ACM: 363–72. doi:[10.1145/358407.358414](http://dx.doi.org/10.1145/358407.358414).
*
*
* @name gamma
* @type {PRNG}
* @param {PositiveNumber} alpha - shape parameter
Expand Down
2 changes: 0 additions & 2 deletions lib/node_modules/@stdlib/random/base/mt19937/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,13 @@ var randuint32 = require( './rand_uint32.js' );
*
* - As different combinations of \\( x \\) and \\( y \\) are generated, different combinations of double-precision floating-point exponent and significand bits will be toggled, thus generating pseudorandom double-precision floating-point numbers.
*
*
* ## References
*
* - Matsumoto, Makoto, and Takuji Nishimura. 1998. "Mersenne Twister: A 623-dimensionally Equidistributed Uniform Pseudo-random Number Generator." _ACM Transactions on Modeling and Computer Simulation_ 8 (1). New York, NY, USA: ACM: 3–30. doi:[10.1145/272991.272995][@matsumoto:1998a].
* - Harase, Shin. 2017. "Conversion of Mersenne Twister to double-precision floating-point numbers." _ArXiv_ abs/1708.06018 (September). <https://arxiv.org/abs/1708.06018>.
*
* [@matsumoto:1998a]: https://doi.org/10.1145/272991.272995
*
*
* @function mt19937
* @type {PRNG}
* @returns {PositiveInteger} pseudorandom integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ var ONE_360 = 1.0 / 360.0;
*
* [@hormann:1993b]: http://dx.doi.org/10.1016/0167-6687(93)90997-4
*
*
* @private
* @param {PRNG} rand - PRNG for generating uniformly distributed numbers
* @param {PositiveNumber} lambda - mean
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
*
* - After each draw, the probabilities of the remaining observations are renormalized so that they sum to one.
*
*
* @private
* @param {ArrayLike} x - array-like object from which to sample
* @param {NonNegativeInteger} size - sample size
Expand Down
1 change: 0 additions & 1 deletion lib/node_modules/@stdlib/random/sample/lib/vose.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ var floor = require( '@stdlib/math/base/special/floor' );
* [alias-method]: http://keithschwarz.com/darts-dice-coins/
* [@vose:1991]: https://doi.org/10.1109/32.92917
*
*
* @private
* @param {ArrayLike} x - array-like object from which to sample
* @param {NonNegativeInteger} size - sample size
Expand Down

1 comment on commit 64c8e5a

@stdlib-bot
Copy link
Contributor

@stdlib-bot stdlib-bot commented on 64c8e5a Aug 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage Report

Package Statements Branches Functions Lines
random/base/gamma $\color{green}623/623$ $\color{green}93/93$ $\color{green}13/13$ $\color{green}623/623$
random/base/mt19937 $\color{green}913/913$ $\color{green}88/88$ $\color{green}15/15$ $\color{green}913/913$
random/base/poisson $\color{green}630/630$ $\color{green}68/68$ $\color{green}13/13$ $\color{green}630/630$
random/sample $\color{green}845/845$ $\color{green}121/121$ $\color{green}8/8$ $\color{green}845/845$

The above coverage report was generated for the changes in this push.

Please sign in to comment.