Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API::Axis is not using polymorphism effectively #2186

Closed
mantid-builder opened this issue Jun 22, 2010 · 1 comment
Closed

API::Axis is not using polymorphism effectively #2186

mantid-builder opened this issue Jun 22, 2010 · 1 comment
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: @jzikovsky

Original Owner: @jzikovsky

You are using a single class, Axis, to represent spectra number and some other double value, and using a flag and endless if checks to see how the class operates. Instead, you should have an AxisSpectra and AxisNumeric classes that inherit from Axis.

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 1339

@mantid-builder mantid-builder added this to the Iteration 24 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant