mirror of https://github.com/davisking/dlib.git
Added some missing includes that only triggered a compiler error in
clang and also fixed a function call ambiguity.
This commit is contained in:
parent
46985273b1
commit
21808a99f2
|
@ -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.
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
#include "cca_abstract.h"
|
||||
#include "../algs.h"
|
||||
#include "../matrix.h"
|
||||
#include "../sparse_vector.h"
|
||||
|
||||
namespace dlib
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue