Skip to content

experiment.h: Experiment class member functions return by reference #6

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

yash4karan
Copy link

The following member functions have been modified to return by reference:

const Goniometer& goniometer() const;
const BeamType& beam() const;
Scan& scan();
const Detector& detector() const;
const Crystal& crystal() const;

Only scan() returns by non-const reference for now, as the underlying scan_ member variable is required to be modifiable by the prediction algorithm.

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

Successfully merging this pull request may close these issues.

1 participant