Skip to content

Commit

Permalink
refs #6449 compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts authored and martyngigg committed Apr 10, 2013
1 parent 0a954bf commit d40f4d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Code/Mantid/Framework/Kernel/test/DiskBufferISaveableTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -389,10 +389,10 @@ class DiskBufferISaveableTest : public CxxTest::TestSuite

void test_addAndRemoveMultithread()
{
size_t DATA_SIZE(500);
long DATA_SIZE(500);
std::vector<size_t> indexToRemove(DATA_SIZE);
std::vector<ISaveable *> objToAdd(DATA_SIZE);
size_t iStep=BIG_NUM/DATA_SIZE;
long iStep=BIG_NUM/DATA_SIZE;
if(iStep<1||DATA_SIZE>BIG_NUM)
{
TSM_ASSERT("Test has wrong setting",false);
Expand Down
5 changes: 2 additions & 3 deletions Code/Mantid/Framework/MDEvents/src/MDGridBox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1443,9 +1443,8 @@ namespace MDEvents
this->addEvent(IF<MDE,nd>::BUILD_EVENT(Signal, errorSq, &point[0],runIndex, detectorId));
}

/** Create MD MDEvent amd add it to the box.
// add a single event and set pointer to the box which needs splitting (if one actually need)
/** Create event from the input data and add it to the box.
/** Create MD MDEvent from the input data and add it to the box.
* Sets pointer to the box which needs splitting (if one actually need)
* @param Signal :: events signal
* @param errorSq :: events Error squared
* @param point :: reference to the MDEvent coordinates
Expand Down

0 comments on commit d40f4d0

Please sign in to comment.