Commit d9f38e98 authored by Davis King's avatar Davis King

Minor changes to avoid warnings in visual studio 2005

parent c72f709b
...@@ -259,9 +259,9 @@ namespace dlib ...@@ -259,9 +259,9 @@ namespace dlib
} }
svd2(true, false, accum, u, w, v); svd2(true, false, accum, u, w, v);
long i = index_of_min(w); long j = index_of_min(w);
return point_transform_projective(reshape(colm(u,i),3,3)); return point_transform_projective(reshape(colm(u,j),3,3));
} }
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
...@@ -759,8 +759,8 @@ namespace dlib ...@@ -759,8 +759,8 @@ namespace dlib
std::vector<int64> man(image.size()); std::vector<int64> man(image.size());
std::vector<char> expbuf; std::vector<char> expbuf;
// get the mantissa data // get the mantissa data
for (unsigned long i = 0; i < man.size(); ++i) for (unsigned long j = 0; j < man.size(); ++j)
deserialize(man[i], in); deserialize(man[j], in);
// get the compressed exponent data // get the compressed exponent data
deserialize(expbuf, in); deserialize(expbuf, in);
typedef entropy_decoder::kernel_2a decoder_type; typedef entropy_decoder::kernel_2a decoder_type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment