Skip to content

Commit f4e6d5e

Browse files
committed
test: update list of policies and add link
1 parent 59c61bc commit f4e6d5e

File tree

2 files changed

+7
-3
lines changed
  • lib/node_modules/@stdlib/ndarray/base/output-policy-str2enum

2 files changed

+7
-3
lines changed

lib/node_modules/@stdlib/ndarray/base/output-policy-str2enum/README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# str2enum
2222

23-
> Return the enumeration constant associated with an output ndarray data type policy string.
23+
> Return the enumeration constant associated with an output ndarray [data type policy][@stdlib/ndarray/output-dtype-policies] string.
2424
2525
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
2626

@@ -42,7 +42,7 @@ var str2enum = require( '@stdlib/ndarray/base/output-policy-str2enum' );
4242

4343
#### str2enum( policy )
4444

45-
Return the enumeration constant associated with an output ndarray data type policy string.
45+
Return the enumeration constant associated with an output ndarray [data type policy][@stdlib/ndarray/output-dtype-policies] string.
4646

4747
```javascript
4848
var v = str2enum( 'same' );
@@ -132,6 +132,8 @@ v = str2enum( 'integral' );
132132

133133
<section class="links">
134134

135+
[@stdlib/ndarray/output-dtype-policies]: https://github.com/stdlib-js/stdlib
136+
135137
</section>
136138

137139
<!-- /.links -->

lib/node_modules/@stdlib/ndarray/base/output-policy-str2enum/test/test.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ var POLICIES = [
3737
'integral',
3838
'floating_point',
3939
'real_floating_point',
40-
'complex_floating_point'
40+
'complex_floating_point',
41+
'real',
42+
'numeric'
4143
];
4244

4345

0 commit comments

Comments
 (0)