diff --git a/Framework/CurveFitting/src/Algorithms/LeBailFit.cpp b/Framework/CurveFitting/src/Algorithms/LeBailFit.cpp index afc4f52d4b518b80aba23079317f66aecb09a251..7aee7230267ac23fbb85287ea64fb935d303738a 100644 --- a/Framework/CurveFitting/src/Algorithms/LeBailFit.cpp +++ b/Framework/CurveFitting/src/Algorithms/LeBailFit.cpp @@ -2366,7 +2366,7 @@ bool LeBailFit::acceptOrDeny(Rfactor currR, Rfactor newR) { double bar = exp(-(new_goodness - cur_goodness) / (cur_goodness * m_Temperature)); - accept = dice < bar; + accept = dice < bar; } return accept; diff --git a/Framework/CurveFitting/src/Algorithms/RefinePowderInstrumentParameters3.cpp b/Framework/CurveFitting/src/Algorithms/RefinePowderInstrumentParameters3.cpp index 8c64c900b77b4e6ed9adc9fe384296799e1107ed..84174a0b2ff353afc441f9bf4febab4a178e259f 100644 --- a/Framework/CurveFitting/src/Algorithms/RefinePowderInstrumentParameters3.cpp +++ b/Framework/CurveFitting/src/Algorithms/RefinePowderInstrumentParameters3.cpp @@ -635,7 +635,7 @@ bool RefinePowderInstrumentParameters3::acceptOrDenyChange(double curchisq, // Higher Rwp. Take a chance to accept double dice = static_cast<double>(rand()) / static_cast<double>(RAND_MAX); double bar = exp(-(newchisq - curchisq) / (curchisq * temperature)); - accept = dice < bar; + accept = dice < bar; } return accept; diff --git a/Framework/Kernel/src/TimeSeriesProperty.cpp b/Framework/Kernel/src/TimeSeriesProperty.cpp index 401e2ebf04a94fe4b7f6cd99fcb095196b8c2a42..018068ac1a3a0264a6dcd948aba14d6fd0b2424d 100644 --- a/Framework/Kernel/src/TimeSeriesProperty.cpp +++ b/Framework/Kernel/src/TimeSeriesProperty.cpp @@ -278,8 +278,9 @@ void TimeSeriesProperty<TYPE>::filterByTime(const Kernel::DateAndTime &start, // "start time" is behind time-series's starting time iterhead = m_values.begin() + istart; - //False - The filter time is on the mark. Erase [begin(), istart) - //True - The filter time is larger than T[istart]. Erase[begin(), istart) ... + // False - The filter time is on the mark. Erase [begin(), istart) + // True - The filter time is larger than T[istart]. Erase[begin(), istart) + // ... // filter start(time) and move istart to filter startime bool useprefiltertime = !(m_values[istart].time() == start);