Skip to content

Commit a84f7ee

Browse files
committed
native implementation updated
1 parent ea1137f commit a84f7ee

File tree

1 file changed

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

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/math/base/special/minmax/lib/native.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ var addon = require( './../src/addon.node' );
4646
* // returns [ NaN, NaN ]
4747
*/
4848
function minmax( x, y ) {
49-
return addon( x, y );
49+
var out = addon( x, y );
50+
return [ out[ 0 ], out[ 1 ] ];
5051
}
5152

5253

0 commit comments

Comments
 (0)