Added some missing includes that only triggered a compiler error in

clang and also fixed a function call ambiguity.
This commit is contained in:
Davis King 2013-01-15 18:03:29 -05:00
parent 46985273b1
commit 21808a99f2
3 changed files with 5 additions and 3 deletions

View File

@ -5,6 +5,7 @@
#include "matrix_la_abstract.h"
#include "matrix_utilities.h"
#include "../sparse_vector.h"
// The 4 decomposition objects described in the matrix_la_abstract.h file are
// actually implemented in the following 4 files.

View File

@ -945,14 +945,14 @@ namespace dlib
{
rgb_pixel temp;
// convert target hsi pixel to rgb
assign(temp,dest);
assign_pixel_helpers::assign(temp,dest);
// now assign the rgb_alpha value to our temp rgb pixel
assign(temp,src);
assign_pixel_helpers::assign(temp,src);
// now we can just go assign the new rgb value to the
// hsi pixel
assign(dest,temp);
assign_pixel_helpers::assign(dest,temp);
}
}

View File

@ -6,6 +6,7 @@
#include "cca_abstract.h"
#include "../algs.h"
#include "../matrix.h"
#include "../sparse_vector.h"
namespace dlib
{