mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
Renamed some variables to avoid clash with #defines in Visual Studio.
This commit is contained in:
parent
e5aeac4b53
commit
1ee8b5dc8c
@ -697,14 +697,14 @@ namespace
|
||||
frobmetric_training_sample<matrix<double,0,1> > sample;
|
||||
std::vector<frobmetric_training_sample<matrix<double,0,1> > > samples;
|
||||
|
||||
matrix<double,3,1> x, near, far;
|
||||
matrix<double,3,1> x, near_, far_;
|
||||
x = 0,0,0;
|
||||
near = 1,0,0;
|
||||
far = 0,1,0;
|
||||
near_ = 1,0,0;
|
||||
far_ = 0,1,0;
|
||||
|
||||
sample.anchor_vect = x;
|
||||
sample.near_vects.push_back(near);
|
||||
sample.far_vects.push_back(far);
|
||||
sample.near_vects.push_back(near_);
|
||||
sample.far_vects.push_back(far_);
|
||||
|
||||
samples.push_back(sample);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user