Changed code so it compiles in visual studio 2010

parent d89d784a
...@@ -7,6 +7,7 @@ ...@@ -7,6 +7,7 @@
#include "structural_svm_assignment_problem_abstract.h" #include "structural_svm_assignment_problem_abstract.h"
#include "../matrix.h" #include "../matrix.h"
#include <vector> #include <vector>
#include <iterator>
#include "structural_svm_problem_threaded.h" #include "structural_svm_problem_threaded.h"
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
...@@ -11,6 +11,9 @@ ...@@ -11,6 +11,9 @@
#include <dlib/rand.h> #include <dlib/rand.h>
typedef dlib::matrix<double,3,1> lhs_element;
typedef dlib::matrix<double,3,1> rhs_element;
namespace namespace
{ {
using namespace test; using namespace test;
...@@ -21,8 +24,6 @@ namespace ...@@ -21,8 +24,6 @@ namespace
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
typedef matrix<double,3,1> lhs_element;
typedef matrix<double,3,1> rhs_element;
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
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