-
Notifications
You must be signed in to change notification settings - Fork 69
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
Implement the main window using a separate class #2105
Conversation
adaptive_step_parameters.length_integration_tolerance); | ||
prediction_steps_index_ = Array.FindIndex( | ||
prediction_steps_, | ||
(Int64 step) => step >= adaptive_step_parameters.max_steps); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What happens if Array.FindIndex
returns -1
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added handling of that case.
ksp_plugin_adapter/main_window.cs
Outdated
createIfNotFound : true); | ||
} | ||
|
||
protected override string Title { get; } = "Principia"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
protected override string Title => "Principia";
No description provided.