Skip to content

Commit 20ac84d

Browse files
committed
Auto-generated commit
1 parent 316f1b9 commit 20ac84d

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`580b0b3`](https://github.com/stdlib-js/stdlib/commit/580b0b3a4535b08100b2a62763723e1fa34bcd9d) - **docs:** resolve NaN return values in `maxabsn` and `minabsn` examples _(by Philipp Burckhardt)_
2526
- [`a51fa22`](https://github.com/stdlib-js/stdlib/commit/a51fa22399f36b4d83ba0d189d297af4aa429354) - **docs:** minor clean-up _(by Philipp Burckhardt)_
2627
- [`a81d6c3`](https://github.com/stdlib-js/stdlib/commit/a81d6c35d11075753c928e38258023266932486e) - **chore:** replace manual `for` loop in examples [(#6488)](https://github.com/stdlib-js/stdlib/pull/6488) _(by Harsh)_
2728
- [`07b51a4`](https://github.com/stdlib-js/stdlib/commit/07b51a4996fa515e6a2595413027b1fa670f7503) - **bench:** update random value generation [(#6378)](https://github.com/stdlib-js/stdlib/pull/6378) _(by Harsh, Philipp Burckhardt)_

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@ var opts = {
140140
var x = uniform( 100, -500.0, 500.0, opts );
141141
var y = uniform( 100, -500.0, 500.0, opts );
142142

143-
logEachMap( 'maxabsn(%0.4f,%0.4f) = %0.4f', x, y, maxabsn );
143+
function wrapper( a, b ) {
144+
return maxabsn( a, b );
145+
}
146+
147+
logEachMap( 'maxabsn(%0.4f,%0.4f) = %0.4f', x, y, wrapper );
144148
```
145149

146150
</section>

examples/index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,8 @@ var opts = {
2828
var x = uniform( 100, -500.0, 500.0, opts );
2929
var y = uniform( 100, -500.0, 500.0, opts );
3030

31-
logEachMap( 'maxabsn(%0.4f,%0.4f) = %0.4f', x, y, maxabsn );
31+
function wrapper( a, b ) {
32+
return maxabsn( a, b );
33+
}
34+
35+
logEachMap( 'maxabsn(%0.4f,%0.4f) = %0.4f', x, y, wrapper );

0 commit comments

Comments
 (0)