mirror of https://github.com/davisking/dlib.git
Changed code to avoid warning about an uninitialized variable.
--HG-- extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403655
This commit is contained in:
parent
41a0bf7b20
commit
8cf7fad6cc
|
@ -278,7 +278,7 @@ namespace dlib
|
||||||
doublereal den = 0, one = 0, ten = 0, dsq = 0, rho = 0, sum = 0, two = 0, diff = 0, half = 0, beta = 0, gisq = 0;
|
doublereal den = 0, one = 0, ten = 0, dsq = 0, rho = 0, sum = 0, two = 0, diff = 0, half = 0, beta = 0, gisq = 0;
|
||||||
integer knew = 0;
|
integer knew = 0;
|
||||||
doublereal temp, suma, sumb, bsum, fopt;
|
doublereal temp, suma, sumb, bsum, fopt;
|
||||||
integer kopt, nptm;
|
integer kopt = 0, nptm;
|
||||||
doublereal zero, curv;
|
doublereal zero, curv;
|
||||||
integer ksav;
|
integer ksav;
|
||||||
doublereal gqsq = 0, dist = 0, sumw = 0, sumz = 0, diffa = 0, diffb = 0, diffc = 0, hdiag = 0;
|
doublereal gqsq = 0, dist = 0, sumw = 0, sumz = 0, diffa = 0, diffb = 0, diffc = 0, hdiag = 0;
|
||||||
|
|
Loading…
Reference in New Issue