Initialized best_gamma to avoid a warning from gcc.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403468
pull/2/head
Davis King 15 years ago
parent 2851ae5cfc
commit cf1939fc3c

@ -177,7 +177,7 @@ int main()
cout << "Doing a grid search" << endl;
matrix<double> best_result(2,1);
best_result = 0;
double best_gamma, best_nu;
double best_gamma = 0.1, best_nu;
for (long col = 0; col < params.nc(); ++col)
{
// pull out the current set of model parameters

Loading…
Cancel
Save