Skip to content

Commit 42e7d33

Browse files
committed
update native
1 parent a84f7ee commit 42e7d33

File tree

2 files changed

+2
-3
lines changed
  • lib/node_modules/@stdlib/math/base/special/minmax

2 files changed

+2
-3
lines changed

lib/node_modules/@stdlib/math/base/special/minmax/include/stdlib/math/base/special/minmax.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ extern "C" {
3232
* @param x First value
3333
* @param y Second value
3434
* @param out output array
35-
* @param stride output array stride
36-
* @param offset output array index offset
3735
* @return A double containing the minimum and maximum values
3836
*/
3937
double stdlib_base_minmax(const double x, const double y, double* out );

lib/node_modules/@stdlib/math/base/special/minmax/src/addon.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ double minmax( double x, double y ) {
3535

3636
double result[] = { 0.0, 0.0 };
3737

38-
return stdlib_base_minmax( x, y, &result );
38+
stdlib_base_minmax( x, y, &result );
3939

40+
return result;
4041
}
4142

4243
// cppcheck-suppress shadowFunction

0 commit comments

Comments
 (0)