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

solve_l1r_l2_svc() uninitialized variable #9

Open
simsong opened this issue Jan 22, 2018 · 0 comments
Open

solve_l1r_l2_svc() uninitialized variable #9

simsong opened this issue Jan 22, 2018 · 0 comments

Comments

@simsong
Copy link

simsong commented Jan 22, 2018

From @myeung2 on January 24, 2017 20:3

Hi, thanks for a great tool. With regard to this compilation warning:

linear.cpp: In function `void train_one(const problem*, const parameter*, double*, double, double)':
linear.cpp:1365: warning: 'loss_old' might be used uninitialized in this function

Can I just initialize "loss_old" to 0? Thanks.

Copied from original issue: cjlin1#31

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