Skip to content

Commit

Permalink
Merge pull request #90 from mach3-software/fix_debug_build
Browse files Browse the repository at this point in the history
Fix debug build
  • Loading branch information
KSkwarczynski authored Aug 23, 2024
2 parents 850a3cc + 361318a commit 9b319d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manager/MaCh3Modes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ MaCh3Modes_t MaCh3Modes::GetMode(const std::string& name) {
if (Mode.count(name)) {
return Mode[name];
}
MACH3LOG_DEBUG("Asking for mode {}, while I only have {}, returning {} mode", Index, NModes, fMode[NModes].Name);
MACH3LOG_DEBUG("Asking for mode {}, while I only have {}, returning {} mode", name, NModes, fMode[NModes].Name);

// return UNKNOWN_BAD
return NModes;
Expand Down
2 changes: 1 addition & 1 deletion mcmc/mcmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ void mcmc::ProposeStep() {
llh += syst_llh[s];

#ifdef DEBUG
if (debug) debugFile << "LLH after " << systematics[stdIt]->getName() << " " << llh << std::endl;
if (debug) debugFile << "LLH after " << systematics[s]->getName() << " " << llh << std::endl;
#endif
}

Expand Down

0 comments on commit 9b319d2

Please sign in to comment.