Skip to content

Commit 30f1225

Browse files
committed
Change how clamped arrays are handled
1 parent 2b70b91 commit 30f1225

File tree

1 file changed

+1
-1
lines changed
  • lib/node_modules/@stdlib/ndarray/base/napi/typedarray-type-to-dtype/src

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/ndarray/base/napi/typedarray-type-to-dtype/src/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ enum STDLIB_NDARRAY_DTYPE stdlib_ndarray_napi_typedarray_type_to_dtype( napi_typ
8686
return STDLIB_NDARRAY_UINT8;
8787
}
8888
if ( vtype == napi_uint8_clamped_array ) {
89-
return STDLIB_NDARRAY_UINT8;
89+
return STDLIB_NDARRAY_UINT8C;
9090
}
9191
if ( vtype == napi_bigint64_array ) {
9292
return STDLIB_NDARRAY_INT64;

0 commit comments

Comments
 (0)