Skip to content

Commit 1a750aa

Browse files
author
David Roberts
committed
Fix variable name in trace logging
This should have been done in #54 but slipped through the net as we compile out trace logging in optimised builds.
1 parent 057dbb9 commit 1a750aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/maths/CMultimodalPrior.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,7 +681,7 @@ void CMultimodalPrior::CModeSplitCallback::operator()(std::size_t sourceIndex,
681681
double wr = pRight * numberSamples;
682682
double ws = std::min(wr, 4.0);
683683
double n = static_cast<double>(samples.size());
684-
LOG_TRACE(<< "# right = " << nr);
684+
LOG_TRACE(<< "# right = " << wr);
685685

686686
TDoubleWeightsAry1Vec weights(samples.size(), maths_t::countWeight(ws / n));
687687
modes.back().s_Prior->addSamples(samples, weights);

0 commit comments

Comments
 (0)