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

DM-4830: Add error flag handling to PsfFitter #11

Merged
merged 1 commit into from Jan 30, 2016
Merged

Conversation

TallJimbo
Copy link
Member

No description provided.

@TallJimbo TallJimbo changed the title Add error flag handling to PsfFitter DM-4830: Add error flag handling to PsfFitter Jan 29, 2016
@TallJimbo
Copy link
Member Author

First line of commit message is too long (the first phrase is probably sufficient).


/// Initialize the fitter class with the given control object.

public:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving the "public" line separates the constructor from its documentation.

…thm.

This class adds measure and fail to the original fitter, and also monitors
the optimizer state and checks for failures.

This is not a child of SimpleAlgorithm, which has a different control type.
Also, the python code which exposes this algorithm can call multiple fitters
in sequence, so it is really multiple algorithms. But each fitter has separate
measure and fail methods, and also its own set of flags. There is nt global flag.
The fitters themself fitters call fail, not the python task.

Also, add unit test which tests the error flag setting. (Except for Exception)
@pgee2000 pgee2000 merged commit cee9ccc into master Jan 30, 2016
@ktlim ktlim deleted the tickets/DM-4830 branch August 25, 2018 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants