Skip to content

Commit

Permalink
Refs #7188 Replaced TableWorkspace by ITableWorkspace
Browse files Browse the repository at this point in the history
When retrieving a TableWorkspace property
  • Loading branch information
RuthFromDuluth committed May 24, 2013
1 parent 606fb56 commit 70d7fc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Code/Mantid/Framework/Crystal/test/SCDCalibratePanelsTest.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "MantidKernel/Property.h"
#include "MantidAPI/MatrixWorkspace.h"
#include "MantidAPI/AnalysisDataService.h"
#include "MantidAPI/ITableWorkspace.h"

using namespace Mantid::API;
using namespace Mantid::DataObjects;
Expand Down Expand Up @@ -83,7 +84,7 @@ class SCDCalibratePanelsTest : public CxxTest::TestSuite

alg->setPropertyValue("ResultWorkspace","Result");

boost::shared_ptr<TableWorkspace> Results = alg->getProperty("ResultWorkspace");
boost::shared_ptr<ITableWorkspace> Results = alg->getProperty("ResultWorkspace");


TS_ASSERT_DELTA(-0.000561209,Results->cell<double>(3,1),.01);
Expand Down

0 comments on commit 70d7fc3

Please sign in to comment.