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
"git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "7c7b60be18cc77793aa7ee1815c0993e23e24c1e"
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
Hide 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
...
@@ -160,9 +160,10 @@ namespace dlib
/* Householder's reduction to bidiagonal form. */
/* Householder's reduction to bidiagonal form. */
g
=
x
=
0.0
;
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
;
s
=
0.0
;
l
=
i
+
1
;
l
=
i
+
1
;
...
@@ -222,7 +223,7 @@ namespace dlib
...
@@ -222,7 +223,7 @@ namespace dlib
}
/* end j */
}
/* end j */
}
/* end s */
}
/* end s */
y
=
abs
(
q
(
i
))
+
abs
(
e
(
i
));
y
=
abs
(
q
(
i
))
+
abs
(
*
ei
);
if
(
y
>
x
)
if
(
y
>
x
)
x
=
y
;
x
=
y
;
}
/* end i */
}
/* 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