Skip to content

Commit

Permalink
fix: update type of order and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Planeshifter committed Sep 30, 2024
1 parent e8c1839 commit 091070f
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
Simultaneously sorts two double-precision floating-point strided arrays
based on the sort order of the first array using insertion sort.

The `N` and stride parameters determine which elements in the strided
arrays are accessed at runtime.
The `N` and stride parameters determine which elements in the strided arrays
are accessed at runtime.

Indexing is relative to the first index. To introduce an offset, use typed
array views.
Expand Down
71 changes: 25 additions & 46 deletions lib/node_modules/@stdlib/blas/ext/base/dsort2ins/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,27 +3,27 @@
"task": "build"
},
"fields": [
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
{
"field": "src",
"resolve": true,
"relative": true
},
{
"field": "include",
"resolve": true,
"relative": true
},
{
"field": "libraries",
"resolve": false,
"relative": false
},
{
"field": "libpath",
"resolve": true,
"relative": false
}
],
"confs": [
{
"task": "build",
Expand All @@ -38,36 +38,15 @@
],
"libpath": [],
"dependencies": [
"@stdlib/math/base/assert/is-nanf",
"@stdlib/math/base/assert/is-negative-zerof",
"@stdlib/math/base/assert/is-positive-zerof",
"@stdlib/math/base/assert/is-negative-zero",
"@stdlib/math/base/assert/is-nanf",
"@stdlib/math/base/assert/is-nan",
"@stdlib/napi/export",
"@stdlib/napi/argv",
"@stdlib/napi/argv-float",
"@stdlib/napi/argv-double",
"@stdlib/napi/argv-int64",
"@stdlib/napi/argv-strided-float64array"
]
},
{
"task": "benchmark",
"src": [
"./src/dsort2ins.c"
],
"include": [
"./include"
],
"libraries": [
"-lm"
],
"libpath": [],
"dependencies": [
"@stdlib/math/base/assert/is-nanf",
"@stdlib/math/base/assert/is-negative-zerof"
]
},
{
"task": "examples",
"src": [
Expand All @@ -81,9 +60,9 @@
],
"libpath": [],
"dependencies": [
"@stdlib/math/base/assert/is-nanf",
"@stdlib/math/base/assert/is-negative-zerof"
"@stdlib/math/base/assert/is-nan",
"@stdlib/math/base/assert/is-negative-zero"
]
}
]
]
}
4 changes: 2 additions & 2 deletions lib/node_modules/@stdlib/blas/ext/base/dsort2ins/src/addon.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#include "stdlib/napi/export.h"
#include "stdlib/napi/argv.h"
#include "stdlib/napi/argv_int64.h"
#include "stdlib/napi/argv_float.h"
#include "stdlib/napi/argv_double.h"
#include "stdlib/napi/argv_strided_float64array.h"
#include <node_api.h>

Expand All @@ -34,7 +34,7 @@
static napi_value addon( napi_env env, napi_callback_info info ) {
STDLIB_NAPI_ARGV( env, info, argv, argc, 6 );
STDLIB_NAPI_ARGV_INT64( env, N, argv, 0 );
STDLIB_NAPI_ARGV_FLOAT( env, order, argv, 1 );
STDLIB_NAPI_ARGV_DOUBLE( env, order, argv, 1 );
STDLIB_NAPI_ARGV_INT64( env, strideX, argv, 3 );
STDLIB_NAPI_ARGV_INT64( env, strideY, argv, 5 );
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, strideX, argv, 2 );
Expand Down

0 comments on commit 091070f

Please sign in to comment.