Skip to content

Commit

Permalink
Re #5292. Clear intel compiler warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed May 14, 2012
1 parent e259826 commit ae874bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ class CheckWorkspacesMatchTest : public CxxTest::TestSuite
parentBox->getBoxes(boxes, 1000, true);
MDBox<MDLeanEvent<3>, 3> *box = dynamic_cast<MDBox<MDLeanEvent<3>, 3> *>(boxes[0]);
std::vector<MDLeanEvent<3> > &events = box->getEvents();
const float offset = static_cast<const float>(0.1);
const float offset = 0.1f;
events[0].setSignal(events[0].getSignal() + offset);
TS_ASSERT_THROWS_NOTHING( checker.setProperty("Workspace1", boost::dynamic_pointer_cast<IMDWorkspace>(mdews1)) );
TS_ASSERT_THROWS_NOTHING( checker.setProperty("Workspace2", boost::dynamic_pointer_cast<IMDWorkspace>(mdews2)) );
Expand All @@ -309,7 +309,7 @@ class CheckWorkspacesMatchTest : public CxxTest::TestSuite
parentBox->getBoxes(boxes, 1000, true);
MDBox<MDLeanEvent<3>, 3> *box = dynamic_cast<MDBox<MDLeanEvent<3>, 3> *>(boxes[0]);
std::vector<MDLeanEvent<3> > &events = box->getEvents();
const float offset = static_cast<const float>(0.1);
const float offset = 0.1f;
events[0].setErrorSquared(events[0].getErrorSquared() + offset);
TS_ASSERT_THROWS_NOTHING( checker.setProperty("Workspace1", boost::dynamic_pointer_cast<IMDWorkspace>(mdews1)) );
TS_ASSERT_THROWS_NOTHING( checker.setProperty("Workspace2", boost::dynamic_pointer_cast<IMDWorkspace>(mdews2)) );
Expand Down

0 comments on commit ae874bc

Please sign in to comment.