Skip to content

Commit ccbaa42

Browse files
committed
style: fix formatting
1 parent 6a2b590 commit ccbaa42

File tree

2 files changed

+2
-6
lines changed
  • lib/node_modules/@stdlib/stats/base/dists/uniform/variance

2 files changed

+2
-6
lines changed

lib/node_modules/@stdlib/stats/base/dists/uniform/variance/lib/main.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ var pow = require( '@stdlib/math/base/special/pow' );
5757
* // returns NaN
5858
*/
5959
function variance( a, b ) {
60-
if (
61-
a >= b
62-
) {
60+
if ( a >= b ) {
6361
return NaN;
6462
}
6563
return (1.0/12.0) * pow( b-a, 2.0 );

lib/node_modules/@stdlib/stats/base/dists/uniform/variance/src/main.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,7 @@
3131
* // returns ~0.083
3232
*/
3333
double stdlib_base_dists_uniform_variance( const double a, const double b ) {
34-
if (
35-
a >= b
36-
) {
34+
if ( a >= b ) {
3735
return 0.0 / 0.0; // NaN
3836
}
3937
return ( 1.0 / 12.0 ) * stdlib_base_pow( b - a, 2.0 );

0 commit comments

Comments
 (0)