Skip to content

Commit

Permalink
Merge pull request #212 from mach3-software/feature_Averaging
Browse files Browse the repository at this point in the history
MCMC Averaging
  • Loading branch information
KSkwarczynski authored Nov 16, 2024
2 parents ab1545b + b79c9d3 commit 96699c9
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 164 deletions.
2 changes: 2 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Henry Wallace <[email protected]> Henry Wallace <67589487+henry-wallace-ph
Henry Wallace <[email protected]> Henry Wallace <[email protected]>
Henry Wallace <[email protected]> Henry Wallace <[email protected]>
Henry Wallace <[email protected]> Henry Wallace <[email protected]>
Henry Wallace <[email protected]> Henry Wallace <[email protected]>
Henry Wallace <[email protected]> Henry Wallace <[email protected]>

# Ewan Miller
Ewan Miller <[email protected]> Ewan <[email protected]>
Expand Down
5 changes: 1 addition & 4 deletions Diagnostics/DiagMCMC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ void DiagMCMC(const std::string& inputFile, const std::string& config)
YAML::Node Settings = YAML::LoadFile(config);

// Make the processor
MCMCProcessor* Processor = new MCMCProcessor(inputFile);

auto Processor = std::make_unique<MCMCProcessor>(inputFile);
Processor->SetOutputSuffix("_MCMC_Diag");
//KS:Turn off plotting detector and some other setting
Processor->SetExcludedTypes(GetFromManager<std::vector<std::string>>(Settings["DiagMCMC"]["ExcludedTypes"], {""}));
Expand All @@ -27,8 +26,6 @@ void DiagMCMC(const std::string& inputFile, const std::string& config)

//KS: finally call main method
Processor->DiagMCMC();

delete Processor;
}

int main(int argc, char *argv[]) {
Expand Down
Loading

0 comments on commit 96699c9

Please sign in to comment.