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

find a mistake from the alm_opt.hpp #4

Open
Lu-Weiyan opened this issue Jan 8, 2025 · 1 comment
Open

find a mistake from the alm_opt.hpp #4

Lu-Weiyan opened this issue Jan 8, 2025 · 1 comment

Comments

@Lu-Weiyan
Copy link

I find a mistake from the alm_opt.hpp.
void HybridOPT::updateLambda(void) {
double cts_num_ = opt_params_.equality_constraint_num +
opt_params_.equality_constraint_num;
The code should be corrected as follows:
void HybridOPT::updateLambda(void) {
double cts_num_ = opt_params_.equality_constraint_num +
opt_params_.inequality_constraint_num;

@Lu-Weiyan Lu-Weiyan reopened this Jan 8, 2025
@Lu-Weiyan
Copy link
Author

Sorry,the mistake is actually from the file"alm_opt.cpp".

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