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

Use a typedef for signal and for coordinates (in MDEvents) #3872

Closed
mantid-builder opened this issue May 15, 2011 · 1 comment
Closed

Use a typedef for signal and for coordinates (in MDEvents) #3872

mantid-builder opened this issue May 15, 2011 · 1 comment
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: @jzikovsky

Original Owner: @jzikovsky

Rename CoordType to coord_t to match other typedef's like size_t, detid_t, etc.

Make a typedef for the signal type, signal_t, that will likely be a double.

That way, if we need to change the data size for these types of data (float for coordinates, double for signal, vice-versa?) it will be ~trivial. Especially useful if data sizes change in future and we want to fix it on all platforms.

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 3025

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