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

Instrument View: Selecting a detector that isn't in the workspace masks the first spectrum #4545

Closed
mantid-builder opened this issue Sep 9, 2011 · 1 comment
Milestone

Comments

@mantid-builder
Copy link
Collaborator

Original Reporter: Russell Taylor

i.e. workspace index 0 is masked if a detector selected does not have

This is because the map InstrumentActor::m_id2wi_map is in several places being accessed via operator[] in what should just be a read, so it's adding entries with 0 as the second member of the pair when called with detectors that aren't in it.

@mantid-builder
Copy link
Collaborator Author

This issue was originally trac ticket 3698

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