Skip to content

Commit 1ada629

Browse files
committed
test: update list of policies and add link
1 parent 1127626 commit 1ada629

File tree

2 files changed

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

2 files changed

+7
-3
lines changed

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ limitations under the License.
2020

2121
# enum2str
2222

23-
> Return the policy string associated with an output ndarray data type policy enumeration constant.
23+
> Return the policy string associated with an output ndarray [data type policy][@stdlib/ndarray/output-dtype-policies] enumeration constant.
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 enum2str = require( '@stdlib/ndarray/base/output-policy-enum2str' );
4242

4343
#### enum2str( policy )
4444

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

4747
```javascript
4848
var str2enum = require( '@stdlib/ndarray/base/output-policy-str2enum' );
@@ -134,6 +134,8 @@ str = enum2str( str2enum( 'real_floating_point' ) );
134134

135135
<section class="links">
136136

137+
[@stdlib/ndarray/output-dtype-policies]: https://github.com/stdlib-js/stdlib
138+
137139
</section>
138140

139141
<!-- /.links -->

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

Lines changed: 3 additions & 1 deletion
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)