Skip to content

Commit

Permalink
Re #6267. Remove default argument.
Browse files Browse the repository at this point in the history
I don't consider it to be sufficiently common that it is true
as opposed to false, so remove a possibility of error.
  • Loading branch information
RussellTaylor committed Dec 4, 2012
1 parent cf68af0 commit 4309c2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -166,7 +166,7 @@ namespace Mantid
/// Split out a time series property by time intervals.
void splitByTime(TimeSplitterType& splitter, std::vector< Property * > outputs) const;
/// Fill a TimeSplitterType that will filter the events by matching
void makeFilterByValue(TimeSplitterType& split, TYPE min, TYPE max, double TimeTolerance, bool centre=true) const;
void makeFilterByValue(TimeSplitterType& split, TYPE min, TYPE max, double TimeTolerance, bool centre) const;

/// Return the time series as a correct C++ map<DateAndTime, TYPE>. All values
std::map<DateAndTime, TYPE> valueAsCorrectMap() const;
Expand Down
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Kernel/test/TimeSeriesPropertyTest.h
Expand Up @@ -346,7 +346,7 @@ class TimeSeriesPropertyTest : public CxxTest::TestSuite

// Test centred log value boundaries
TimeSplitterType splitter;
log->makeFilterByValue(splitter, 1.8, 2.2, 1.0);
log->makeFilterByValue(splitter, 1.8, 2.2, 1.0, true);

TS_ASSERT_EQUALS( splitter.size(), 2);
SplittingInterval s;
Expand Down

0 comments on commit 4309c2c

Please sign in to comment.