mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Initialized best_gamma to avoid a warning from gcc.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403468
This commit is contained in:
parent
2851ae5cfc
commit
cf1939fc3c
@ -177,7 +177,7 @@ int main()
|
|||||||
cout << "Doing a grid search" << endl;
|
cout << "Doing a grid search" << endl;
|
||||||
matrix<double> best_result(2,1);
|
matrix<double> best_result(2,1);
|
||||||
best_result = 0;
|
best_result = 0;
|
||||||
double best_gamma, best_nu;
|
double best_gamma = 0.1, best_nu;
|
||||||
for (long col = 0; col < params.nc(); ++col)
|
for (long col = 0; col < params.nc(); ++col)
|
||||||
{
|
{
|
||||||
// pull out the current set of model parameters
|
// pull out the current set of model parameters
|
||||||
|
Loading…
Reference in New Issue
Block a user