Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
75b3463f
Unverified
Commit
75b3463f
authored
Dec 16, 2021
by
Juha Reunanen
Committed by
GitHub
Dec 16, 2021
Browse files
Avoid distracting compiler warning (#2472)
parent
f0c0b307
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
dlib/matrix/matrix_la.h
dlib/matrix/matrix_la.h
+4
-3
No files found.
dlib/matrix/matrix_la.h
View file @
75b3463f
...
...
@@ -160,9 +160,10 @@ namespace dlib
/* Householder's reduction to bidiagonal form. */
g
=
x
=
0.0
;
for
(
i
=
0
;
i
<
n
;
i
++
)
auto
ei
=
e
.
begin
();
for
(
i
=
0
;
i
<
n
;
i
++
,
ei
++
)
{
e
(
i
)
=
g
;
*
ei
=
g
;
s
=
0.0
;
l
=
i
+
1
;
...
...
@@ -222,7 +223,7 @@ namespace dlib
}
/* end j */
}
/* end s */
y
=
abs
(
q
(
i
))
+
abs
(
e
(
i
));
y
=
abs
(
q
(
i
))
+
abs
(
*
ei
);
if
(
y
>
x
)
x
=
y
;
}
/* end i */
...
...
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