We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, the constructor of SemiExplicitEulerIntegrator is as follows:
SemiExplicitEulerIntegrator
SemiExplicitEulerIntegrator(const System<T>& system, const T& max_step_size, Context<T>* context = nullptr) : IntegratorBase<T>(system, context), qdot_(context->get_continuous_state().num_q()) { IntegratorBase<T>::set_maximum_step_size(max_step_size); }
It allows user to supply nullptr for context, yet it dereferences context without checking.
nullptr
context
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What happened?
Currently, the constructor of
SemiExplicitEulerIntegrator
is as follows:It allows user to supply
nullptr
forcontext
, yet it dereferencescontext
without checking.Version
No response
What operating system are you using?
No response
What installation option are you using?
No response
Relevant log output
The text was updated successfully, but these errors were encountered: