Skip to content

Commit c8eb769

Browse files
kgryteSachinn-64Planeshifter
authored
Apply suggestions from code review
Co-authored-by: Sachin Pangal <151670745+Sachinn-64@users.noreply.github.com> Co-authored-by: Philipp Burckhardt <pburckhardt@outlook.com> Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent c75c600 commit c8eb769

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

lib/node_modules/@stdlib/stats/base/ndarray/drange/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
33
@license Apache-2.0
44
5-
Copyright (c) 2026 The Stdlib Authors.
5+
Copyright (c) 2025 The Stdlib Authors.
66
77
Licensed under the Apache License, Version 2.0 (the "License");
88
you may not use this file except in compliance with the License.
@@ -125,7 +125,7 @@ console.log( v );
125125

126126
#### stdlib_stats_drange( arrays )
127127

128-
Computes the range of a one-dimensional double-precision floating-point ndarray.
128+
Computes the [range][range] of a one-dimensional double-precision floating-point ndarray.
129129

130130
```c
131131
#include "stdlib/ndarray/ctor.h"

lib/node_modules/@stdlib/stats/base/ndarray/drange/lib/native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var addon = require( './../src/addon.node' );
3232
*
3333
* @private
3434
* @param {ArrayLikeObject<Object>} arrays - array-like object containing an input ndarray
35-
* @returns {number} range value
35+
* @returns {number} range
3636
*
3737
* @example
3838
* var Float64Array = require( '@stdlib/array/float64' );

lib/node_modules/@stdlib/stats/base/ndarray/drange/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* Computes the range of a one-dimensional double-precision floating-point ndarray.
2626
*
2727
* @param arrays list containing an input ndarray
28-
* @return range value
28+
* @return range
2929
*/
3030
double stdlib_stats_drange( const struct ndarray *arrays[] ) {
3131
const struct ndarray *x = arrays[ 0 ];

lib/node_modules/@stdlib/stats/base/ndarray/drange/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @license Apache-2.0
33
*
4-
* Copyright (c) 2026 The Stdlib Authors.
4+
* Copyright (c) 2025 The Stdlib Authors.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

lib/node_modules/@stdlib/stats/base/ndarray/drange/test/test.main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ tape( 'the function calculates the range of a one-dimensional ndarray', function
8080
t.end();
8181
});
8282

83-
tape( 'if provided an empty ndarray, the function returns `NaN` ', function test( t ) {
83+
tape( 'if provided an empty ndarray, the function returns `NaN`', function test( t ) {
8484
var x;
8585
var v;
8686

@@ -100,6 +100,7 @@ tape( 'if provided an ndarray containing a single element, the function returns
100100

101101
v = drange( [ vector( x, 1, 1, 0 ) ] );
102102
t.strictEqual( v, 0.0, 'returns expected value' );
103+
103104
t.end();
104105
});
105106

lib/node_modules/@stdlib/stats/base/ndarray/drange/test/test.native.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ tape( 'if provided an ndarray containing a single element, the function returns
109109

110110
v = drange( [ vector( x, 1, 1, 0 ) ] );
111111
t.strictEqual( v, 0.0, 'returns expected value' );
112+
112113
t.end();
113114
});
114115

0 commit comments

Comments
 (0)