Skip to content

Commit 4a2e7a0

Browse files
committed
Merge remote-tracking branch 'upstream/develop' into refactor-ssorthp
2 parents e48885f + b78e8ba commit 4a2e7a0

File tree

540 files changed

+16743
-1951
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

540 files changed

+16743
-1951
lines changed

.github/workflows/lint_random_files.yml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -369,30 +369,41 @@ jobs:
369369
# Define the path to cppcheck configuration file for linting benchmarks:
370370
cppcheck_benchmarks_suppressions_list="${root}/etc/cppcheck/suppressions.benchmarks.txt"
371371
372-
# Lint C source files...
372+
# Initialize a variable to capture errors:
373+
err_output=""
374+
375+
# Lint C source files:
373376
files=$(echo "${{ steps.random-files.outputs.files }}" | tr ',' '\n' | grep -E '\.c$' | grep -v -e '/examples' -e '/test' -e '/benchmark' | tr '\n' ' ')
374377
if [[ -n "${files}" ]]; then
375-
make lint-c-files FILES="${files}"
378+
err_output+=$(make lint-c-files FILES="${files}" 2>&1)
376379
fi
377380
378381
# Lint C example files...
379382
files=$(echo "${{ steps.random-files.outputs.files }}" | tr ',' '\n' | grep '/examples/.*\.c$' | tr '\n' ' ')
380383
if [[ -n "${files}" ]]; then
381-
make lint-c-files FILES="${files}" CPPCHECK_SUPPRESSIONS_LIST="${cppcheck_examples_suppressions_list}"
384+
err_output+=$(make lint-c-files FILES="${files}" CPPCHECK_SUPPRESSIONS_LIST="${cppcheck_examples_suppressions_list}" 2>&1)
382385
fi
383386
384387
# Lint C test fixtures files...
385388
files=$(echo "${{ steps.random-files.outputs.files }}" | tr ',' '\n' | grep '/test/fixtures/.*\.c$' | tr '\n' ' ')
386389
if [[ -n "${files}" ]]; then
387-
make lint-c-files FILES="${files}" CPPCHECK_SUPPRESSIONS_LIST="${cppcheck_tests_fixtures_suppressions_list}"
390+
err_output+=$(make lint-c-files FILES="${files}" CPPCHECK_SUPPRESSIONS_LIST="${cppcheck_tests_fixtures_suppressions_list}" 2>&1)
388391
fi
389392
390393
# Lint C benchmark files...
391394
files=$(echo "${{ steps.random-files.outputs.files }}" | tr ',' '\n' | grep '/benchmark/.*\.c$' | tr '\n' ' ')
392395
if [[ -n "${files}" ]]; then
393-
make lint-c-files FILES="${files}" CPPCHECK_SUPPRESSIONS_LIST="${cppcheck_benchmarks_suppressions_list}"
396+
err_output+=$(make lint-c-files FILES="${files}" CPPCHECK_SUPPRESSIONS_LIST="${cppcheck_benchmarks_suppressions_list}" 2>&1)
394397
fi
395398
399+
# Print the errors to the log:
400+
echo "$err_output"
401+
402+
# Save the captured errors as an output variable...
403+
echo "stderr<<EOF" >> $GITHUB_OUTPUT
404+
echo "$err_output" >> $GITHUB_OUTPUT
405+
echo "EOF" >> $GITHUB_OUTPUT
406+
396407
# Create sub-issue for C linting failures:
397408
- name: 'Create sub-issue for C lint failures'
398409
if: ( github.event.inputs.c != 'false' ) && failure() && contains(steps.*.outcome, 'failure') && contains(steps.lint-c.outcome, 'failure')

.mailmap

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ Golden Kumar <[email protected]> AuenKr
7272

7373
Gunj Joshi <[email protected]> GUNJ JOSHI
7474

75+
76+
Gururaj Gurram <[email protected]> gururaj1512
77+
7578
# H
7679

7780

CONTRIBUTORS

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ EuniceSim142 <[email protected]>
3737
Frank Kovacs <[email protected]>
3838
Golden Kumar <[email protected]>
3939
Gunj Joshi <[email protected]>
40-
Gururaj Gurram <[email protected].com>
40+
Gururaj Gurram <gururajgurram1512@gmail.com>
4141
4242
Harshita Kalani <[email protected]>
4343
Hridyanshu <[email protected]>
@@ -125,6 +125,7 @@ Vivek Maurya <[email protected]>
125125
Xiaochuan Ye <[email protected]>
126126
Yaswanth Kosuru <[email protected]>
127127
Yernar Yergaziyev <[email protected]>
128+
ekambains <[email protected]>
128129
olenkabilonizhka <[email protected]>
129130
pranav-1720 <[email protected]>
130131
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
type: amend-message
3+
---
4+
feat: add C implementation for `stats/base/dists/degenerate/median`
5+
6+
PR-URL: #4579
7+
Closes: #3541
8+
9+
Reviewed-by: Philipp Burckhardt <[email protected]>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
type: amend-message
3+
---
4+
chore: refactor random number generation in `stats/base/dists/rayleigh`
5+
6+
PR-URL: #5104
7+
Ref: #4985
8+
9+
Co-authored-by: Philipp Burckhardt <[email protected]>
10+
Reviewed-by: Philipp Burckhardt <[email protected]>
11+
Signed-off-by: Philipp Burckhardt <[email protected]>
12+
Signed-off-by: ekambains <[email protected]>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
type: amend-message
3+
---
4+
refactor: update `blas/ext/base/gsumkbn` to follow current project conventions
5+
6+
PR-URL: https://github.com/stdlib-js/stdlib/pull/4677
7+
8+
Reviewed-by: Athan Reines <[email protected]>

lib/node_modules/@stdlib/array/base/broadcasted-quaternary2d/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ var bquaternary2d = require( '@stdlib/array/base/broadcasted-quaternary2d' );
4141
Applies a quaternary callback to elements in four [broadcasted][@stdlib/array/base/broadcast-array] nested input arrays and assigns results to elements in a two-dimensional nested output array.
4242

4343
```javascript
44-
var add = require( '@stdlib/math/base/ops/add4' );
44+
var add = require( '@stdlib/number/float64/base/add4' );
4545
var zeros2d = require( '@stdlib/array/base/zeros2d' );
4646

4747
var x = [ [ 1.0, 2.0 ] ];
@@ -92,7 +92,7 @@ The function accepts the following arguments:
9292
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
9393
var filled2dBy = require( '@stdlib/array/base/filled2d-by' );
9494
var zeros2d = require( '@stdlib/array/base/zeros2d' );
95-
var add = require( '@stdlib/math/base/ops/add4' );
95+
var add = require( '@stdlib/number/float64/base/add4' );
9696
var bquaternary2d = require( '@stdlib/array/base/broadcasted-quaternary2d' );
9797

9898
var shapes = [

lib/node_modules/@stdlib/array/base/broadcasted-quaternary2d/benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ var floor = require( '@stdlib/math/base/special/floor' );
2828
var filled2dBy = require( '@stdlib/array/base/filled2d-by' );
2929
var zeros2d = require( '@stdlib/array/base/zeros2d' );
3030
var numel = require( '@stdlib/ndarray/base/numel' );
31-
var add = require( '@stdlib/math/base/ops/add4' );
31+
var add = require( '@stdlib/number/float64/base/add4' );
3232
var pkg = require( './../package.json' ).name;
3333
var bquaternary2d = require( './../lib' );
3434

lib/node_modules/@stdlib/array/base/broadcasted-quaternary2d/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ type InOutShapes = [
8888
* @param fcn - quaternary callback
8989
*
9090
* @example
91-
* var add = require( '@stdlib/math/base/ops/add4' );
91+
* var add = require( '@stdlib/number/float64/base/add4' );
9292
* var ones2d = require( '@stdlib/array/base/ones2d' );
9393
* var zeros2d = require( '@stdlib/array/base/zeros2d' );
9494
*

lib/node_modules/@stdlib/array/base/broadcasted-quaternary2d/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
var discreteUniform = require( '@stdlib/random/base/discrete-uniform' ).factory;
2222
var filled2dBy = require( '@stdlib/array/base/filled2d-by' );
2323
var zeros2d = require( '@stdlib/array/base/zeros2d' );
24-
var add = require( '@stdlib/math/base/ops/add4' );
24+
var add = require( '@stdlib/number/float64/base/add4' );
2525
var bquaternary2d = require( './../lib' );
2626

2727
var shapes = [

0 commit comments

Comments
 (0)