Opened 9 years ago
Closed 9 years ago
#81 closed task (fixed)
change Workspace to MatrixWorkspace
Reported by: | zhangjr | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | pre-alpha |
Component: | Mantid | Version: | 0.1.0 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Parent ID: | Parent Tickets: | ||
Estimated Number of Hours: | 0.0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Description
Subtickets
Child Tickets
Change History (2)
comment:1 Changed 9 years ago by zhangjr
comment:2 Changed 9 years ago by zhangjr
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
It's little confused. The property is workspace, instance is workspace2D, out is MatrixWorkspace?
===
declareProperty(new WorkspaceProperty?<API::Workspace>("OutputWorkspace?", "", Direction::Output),
MatrixWorkspace_sptr WS = boost::dynamic_pointer_cast<MatrixWorkspace?>( WorkspaceFactory::Instance().create("Workspace2D", m_numPixels, m_numBins + 1, m_numBins));