Skip to content

Commit 0c10ec1

Browse files
committed
fix(logpdf): enforce correct variable sorting and JSON formatting
Signed-off-by: Kamal Singh Rautela <e22cseu1624@bennett.edu.in>
1 parent 5706bb6 commit 0c10ec1

File tree

9 files changed

+28077
-14
lines changed

9 files changed

+28077
-14
lines changed

lib/node_modules/@stdlib/stats/base/dists/lognormal/cdf/test/fixtures/julia/large_variance.json

Lines changed: 4010 additions & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/stats/base/dists/lognormal/cdf/test/fixtures/julia/negative_mean.json

Lines changed: 4010 additions & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/stats/base/dists/lognormal/cdf/test/fixtures/julia/positive_mean.json

Lines changed: 4010 additions & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/stats/base/dists/lognormal/logcdf/test/fixtures/r/data.json

Lines changed: 4010 additions & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/benchmark/benchmark.native.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ bench( format( '%s::native', pkg ), opts, function benchmark( b ) {
4343
var sigma;
4444
var opts;
4545
var mu;
46+
var i;
4647
var x;
4748
var y;
48-
var i;
4949

5050
opts = {
5151
'dtype': 'float64'

lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/test/fixtures/julia/large_variance.json

Lines changed: 4010 additions & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/test/fixtures/julia/negative_location.json

Lines changed: 4010 additions & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/test/fixtures/julia/positive_location.json

Lines changed: 4010 additions & 1 deletion
Large diffs are not rendered by default.

lib/node_modules/@stdlib/stats/base/dists/lognormal/logpdf/test/test.native.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,13 @@ tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', opts, fun
104104

105105
tape( 'the function evaluates the logpdf for `x` given positive `mu`', opts, function test( t ) {
106106
var expected;
107-
var sigma;
108107
var delta;
108+
var sigma;
109109
var tol;
110110
var mu;
111+
var i;
111112
var x;
112113
var y;
113-
var i;
114114

115115
expected = positiveLocation.expected;
116116
x = positiveLocation.x;
@@ -133,13 +133,13 @@ tape( 'the function evaluates the logpdf for `x` given positive `mu`', opts, fun
133133

134134
tape( 'the function evaluates the logpdf for `x` given negative `mu`', opts, function test( t ) {
135135
var expected;
136-
var sigma;
137136
var delta;
137+
var sigma;
138138
var tol;
139139
var mu;
140+
var i;
140141
var x;
141142
var y;
142-
var i;
143143

144144
expected = negativeLocation.expected;
145145
x = negativeLocation.x;
@@ -162,13 +162,13 @@ tape( 'the function evaluates the logpdf for `x` given negative `mu`', opts, fun
162162

163163
tape( 'the function evaluates the logpdf for `x` given large variance ( = large `sigma` )', opts, function test( t ) {
164164
var expected;
165-
var sigma;
166165
var delta;
166+
var sigma;
167167
var tol;
168168
var mu;
169+
var i;
169170
var x;
170171
var y;
171-
var i;
172172

173173
expected = largeVariance.expected;
174174
x = largeVariance.x;

0 commit comments

Comments
 (0)