Skip to content

Commit b75713f

Browse files
authored
Makes case of "logZ" and "logZErr" consistent with the rest of the code (#434)
1 parent 55d80a9 commit b75713f

26 files changed

+7
-7
lines changed

API/RAT.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
% dreamOutput [1 x 1] struct Diagnostic output information from a DREAM run. The fields
5757
% are ``allChains``, ``outlierChains``, ``runtime``,
5858
% ``iteration``, ``modelOutput``, ``AR``, ``R_stat``, and ``CR``.
59-
% nestedSamplerOutput [1 x 1] struct Output from a nested sampler run. The fields are ``LogZ``,
60-
% ``LogZErr``, ``nestSamples``, and ``postSamples``.
59+
% nestedSamplerOutput [1 x 1] struct Output from a nested sampler run. The fields are ``logZ``,
60+
% ``logZErr``, ``nestSamples``, and ``postSamples``.
6161
% chain [M x nParams] double MCMC chains where M is the length of each chain.
6262
% =================== ==================== ===============
6363

minimisers/NS/runNestedSampler.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
bayesResults.predictionIntervals = nestResults.predictionIntervals;
6767
bayesResults.confidenceIntervals = nestResults.confidenceIntervals;
6868
bayesResults.chain = chain;
69-
bayesResults.nestedSamplerOutput.LogZ = logZ;
70-
bayesResults.nestedSamplerOutput.LogZErr = sqrt(H / nLive);
69+
bayesResults.nestedSamplerOutput.logZ = logZ;
70+
bayesResults.nestedSamplerOutput.logZErr = sqrt(H / nLive);
7171
bayesResults.nestedSamplerOutput.nestSamples = nestSamples;
7272
bayesResults.nestedSamplerOutput.postSamples = postSamples;
7373

minimisers/generalUtils/makeEmptyBayesResultsStruct.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,16 @@
147147
% (5) bayesResults.nestedSamplerOutput
148148

149149
% Nested Sampler
150-
LogZ = 0;
151-
LogZErr = 0;
150+
logZ = 0;
151+
logZErr = 0;
152152

153153
nestSamples = zeros(1,2);
154154
coder.varsize('nestSamples');
155155

156156
postSamples = zeros(1,2);
157157
coder.varsize('postSamples');
158158

159-
nestedSamplerOutput = struct('LogZ',LogZ,'LogZErr',LogZErr,...
159+
nestedSamplerOutput = struct('logZ',logZ,'logZErr',logZErr,...
160160
'nestSamples',nestSamples,'postSamples',postSamples);
161161

162162
% ------------------------------------------------------------------
-547 Bytes
Binary file not shown.
-622 Bytes
Binary file not shown.
Binary file not shown.
-503 Bytes
Binary file not shown.
-606 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)