Skip to content

Commit

Permalink
re #6010 fix an operator precedence bug
Browse files Browse the repository at this point in the history
  • Loading branch information
NickDraper committed Oct 25, 2012
1 parent 973d0c6 commit d749e08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Kernel/src/MultiFileNameParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ namespace Kernel
int success = ConfigService::Instance().getValue("loading.multifilelimit",limit);
unsigned int orderedTo = from>to?from:to;
unsigned int orderedFrom = from>to?to:from;
unsigned int numberOfFiles = orderedTo-orderedFrom/stepSize;
unsigned int numberOfFiles = (orderedTo-orderedFrom)/stepSize;
if (numberOfFiles>limit)
{
std::stringstream sstream;
Expand Down

0 comments on commit d749e08

Please sign in to comment.