diff --git a/dlib/sparse_vector.h b/dlib/sparse_vector.h new file mode 100644 index 000000000..62c959f8a --- /dev/null +++ b/dlib/sparse_vector.h @@ -0,0 +1,10 @@ +// Copyright (C) 2012 Davis E. King (davis@dlib.net) +// License: Boost Software License See LICENSE.txt for the full license. +#ifndef DLIB_SPaRSE_VECTOR_H__ +#define DLIB_SPaRSE_VECTOR_H__ + +#include "svm/sparse_vector.h" + +#endif // DLIB_SPaRSE_VECTOR_H__ + + diff --git a/dlib/svm/sparse_vector.h b/dlib/svm/sparse_vector.h index 1c812fea3..3f8880d91 100644 --- a/dlib/svm/sparse_vector.h +++ b/dlib/svm/sparse_vector.h @@ -11,6 +11,7 @@ #include // This is included just so we can do some disable_if stuff on it in the max_index_plus_one routine(). #include "../manifold_regularization/sample_pair.h" +#include "../matrix.h" namespace dlib diff --git a/dlib/svm/sparse_vector_abstract.h b/dlib/svm/sparse_vector_abstract.h index 1606ff6b1..9cffc6bb5 100644 --- a/dlib/svm/sparse_vector_abstract.h +++ b/dlib/svm/sparse_vector_abstract.h @@ -6,6 +6,7 @@ #include #include "../algs.h" #include "../serialize.h" +#include "../matrix.h" #include #include diff --git a/dlib/test/sparse_vector.cpp b/dlib/test/sparse_vector.cpp index b8c65b8b6..bdf2e147c 100644 --- a/dlib/test/sparse_vector.cpp +++ b/dlib/test/sparse_vector.cpp @@ -1,8 +1,8 @@ // Copyright (C) 2012 Davis E. King (davis@dlib.net) // License: Boost Software License See LICENSE.txt for the full license. +#include #include "tester.h" -#include #include #include #include