Skip to content

Commit c0442ba

Browse files
authored
Apply suggestions from code review
Co-authored-by: Athan <kgryte@gmail.com> Signed-off-by: Athan <kgryte@gmail.com>
1 parent 56f20ca commit c0442ba

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/node_modules/@stdlib/math/base/special/cphase/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ int main( void ) {
158158
};
159159
160160
stdlib_complex128_t v;
161-
double y;
162161
double re;
163162
double im;
163+
double y;
164164
int i;
165165
for ( i = 0; i < 4; i++ ) {
166166
v = x[ i ];

lib/node_modules/@stdlib/stats/base/dists/arcsine/pdf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ logEachMap( 'x: %0.4f, a: %0.4f, b: %0.4f, f(x;a,b): %0.4f', x, a, b, pdf );
164164
Evaluates the probability density function (PDF) for an arcsine distribution.
165165

166166
```c
167-
double out = stdlib_base_dists_arcsine_pdf( 2, 0.0, 4.0 );
167+
double out = stdlib_base_dists_arcsine_pdf( 2.0, 0.0, 4.0 );
168168
// returns ~0.159
169169
```
170170

lib/node_modules/@stdlib/stats/strided/snanmeanpn/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ Computes the [arithmetic mean][arithmetic-mean] of a single-precision floating-p
206206
const float x[] = { 1.0f, -2.0f, 0.0f/0.0f, 2.0f };
207207

208208
float v = stdlib_strided_snanmeanpn( 4, x, 1 );
209-
// returns ~0.33333
209+
// returns ~0.33333f
210210
```
211211
212212
The function accepts the following arguments:
@@ -227,7 +227,7 @@ Computes the [arithmetic mean][arithmetic-mean] of a single-precision floating-p
227227
const float x[] = { 1.0f, -2.0f, 0.0f/0.0f, 2.0f };
228228

229229
float v = stdlib_strided_snanmeanpn_ndarray( 4, x, 1, 0 );
230-
// returns ~0.33333
230+
// returns ~0.33333f
231231
```
232232
233233
The function accepts the following arguments:

0 commit comments

Comments
 (0)