Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions minimisers/NS/runNestedSampler.m
Original file line numberDiff line numberDiff line change
Expand Up@@ -49,6 +49,7 @@
bayesResults.confidenceIntervals = nestResults.confidenceIntervals;
bayesResults.chain = chain;
bayesResults.nestedSamplerOutput.LogZ = logZ;
bayesResults.nestedSamplerOutput.LogZErr = sqrt(H / nLive);
bayesResults.nestedSamplerOutput.nestSamples = nestSamples;
bayesResults.nestedSamplerOutput.postSamples = postSamples;

Expand Down
5 changes: 3 additions & 2 deletions minimisers/generalUtils/makeEmptyBayesResultsStruct.m
Original file line numberDiff line numberDiff line change
Expand Up@@ -146,15 +146,16 @@

% Nested Sampler
LogZ = 0;
LogZErr = 0;

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

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

nestedSamplerOutput = struct('LogZ',LogZ,'nestSamples',...
nestSamples,'postSamples',postSamples);
nestedSamplerOutput = struct('LogZ',LogZ,'LogZErr',LogZErr,...
'nestSamples',nestSamples,'postSamples',postSamples);

% ------------------------------------------------------------------
% (6) chain
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modifiedtests/normalTFReflectivityCalculation/customLayersOutputs.mat
Binary file not shown.
Binary file modifiedtests/normalTFReflectivityCalculation/customXYOutputs.mat
Binary file not shown.
Binary file modifiedtests/normalTFReflectivityCalculation/standardLayersOutputs.mat
Binary file not shown.