Ticket #11194 (new)
RefAxis wastes memory by calling NumericAxis constructor.
Reported by: | Steven Hahn | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | Backlog |
Component: | Framework | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Tester: |
Description
RefAxis inherits NumericAxis and on construction calls the NumericAxis constructor. The NumericAxis constructor then initializes std::vector<double>m_values of length l. This vector is unused by RefAxis, whose values are stored in the parent workspace.
The larger issue is cases like in ticket #1179 ( http://trac.mantidproject.org/mantid/ticket/11179 ) where a member function inherited from NumericAxis used m_values instead of the parent workspace. In this particular case, the two were of different length.
Note: See
TracTickets for help on using
tickets.
This ticket has been transferred to github issue 12033