Skip to content

Commit

Permalink
refs #6865 This should give the property correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
abuts committed Apr 22, 2013
1 parent 6c74e5d commit 1a20c0a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Code/Mantid/Framework/MDAlgorithms/test/ConvertToMDTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ void test_EventNoUnitsConv()
WSD.m_PreprDetTable =pDetLoc_events;
WSD.m_RotMatrix = Rot;
// this one comes from ticket #6852 and would not exist in clear branch.
WSD.addProperty("RUN_INDEX",10,true);
WSD.addProperty("RUN_INDEX",static_cast<uint16_t>(10),true);

// create new target MD workspace
pTargWS->releaseWorkspace();
Expand Down Expand Up @@ -318,7 +318,7 @@ void test_EventFromTOFConv()
WSD.m_PreprDetTable =pDetLoc_events;
WSD.m_RotMatrix = Rot;
// this one comes from ticket #6852 and would not exist in clear branch.
WSD.addProperty("RUN_INDEX",10,true);
WSD.addProperty("RUN_INDEX",static_cast<uint16_t>(10),true);

// create new target MD workspace
pTargWS->releaseWorkspace();
Expand Down Expand Up @@ -354,7 +354,7 @@ void test_HistoFromTOFConv()
WSD.m_PreprDetTable =pDetLoc_histo;
WSD.m_RotMatrix = Rot;
// this one comes from ticket #6852 and would not exist in clear branch.
WSD.addProperty("RUN_INDEX",10,true);
WSD.addProperty("RUN_INDEX",static_cast<uint16_t>(10),true);

// create new target MD workspace
pTargWS->releaseWorkspace();
Expand Down Expand Up @@ -395,7 +395,7 @@ void test_HistoNoUnitsConv()
WSD.m_PreprDetTable =pDetLoc_histo;
WSD.m_RotMatrix = Rot;
// this one comes from ticket #6852 and would not exist in clear branch.
WSD.addProperty("RUN_INDEX",10,true);
WSD.addProperty("RUN_INDEX",static_cast<uint16_t>(10),true);

// create new target MD workspace
pTargWS->releaseWorkspace();
Expand Down

0 comments on commit 1a20c0a

Please sign in to comment.