Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
d9f38e98
Commit
d9f38e98
authored
Aug 10, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor changes to avoid warnings in visual studio 2005
parent
c72f709b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
point_transforms.h
dlib/geometry/point_transforms.h
+2
-2
image_loader.h
dlib/image_loader/image_loader.h
+2
-2
No files found.
dlib/geometry/point_transforms.h
View file @
d9f38e98
...
@@ -259,9 +259,9 @@ namespace dlib
...
@@ -259,9 +259,9 @@ namespace dlib
}
}
svd2
(
true
,
false
,
accum
,
u
,
w
,
v
);
svd2
(
true
,
false
,
accum
,
u
,
w
,
v
);
long
i
=
index_of_min
(
w
);
long
j
=
index_of_min
(
w
);
return
point_transform_projective
(
reshape
(
colm
(
u
,
i
),
3
,
3
));
return
point_transform_projective
(
reshape
(
colm
(
u
,
j
),
3
,
3
));
}
}
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
...
...
dlib/image_loader/image_loader.h
View file @
d9f38e98
...
@@ -759,8 +759,8 @@ namespace dlib
...
@@ -759,8 +759,8 @@ namespace dlib
std
::
vector
<
int64
>
man
(
image
.
size
());
std
::
vector
<
int64
>
man
(
image
.
size
());
std
::
vector
<
char
>
expbuf
;
std
::
vector
<
char
>
expbuf
;
// get the mantissa data
// get the mantissa data
for
(
unsigned
long
i
=
0
;
i
<
man
.
size
();
++
i
)
for
(
unsigned
long
j
=
0
;
j
<
man
.
size
();
++
j
)
deserialize
(
man
[
i
],
in
);
deserialize
(
man
[
j
],
in
);
// get the compressed exponent data
// get the compressed exponent data
deserialize
(
expbuf
,
in
);
deserialize
(
expbuf
,
in
);
typedef
entropy_decoder
::
kernel_2a
decoder_type
;
typedef
entropy_decoder
::
kernel_2a
decoder_type
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment