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
7cf1a928
Commit
7cf1a928
authored
Jan 09, 2017
by
Davis King
Browse files
merged
parents
47e32fb1
45d35e6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dlib/test/matrix2.cpp
dlib/test/matrix2.cpp
+1
-1
No files found.
dlib/test/matrix2.cpp
View file @
7cf1a928
...
...
@@ -1120,7 +1120,7 @@ namespace
m4
=
randm
(
4
,
4
,
rnd
);
DLIB_TEST
(
max
(
abs
(
m1
*
inv
(
m1
)
-
identity_matrix
(
m1
)))
<
1e-13
);
DLIB_TEST
(
max
(
abs
(
m2
*
inv
(
m2
)
-
identity_matrix
(
m2
)))
<
1e-1
3
);
DLIB_TEST
(
max
(
abs
(
m2
*
inv
(
m2
)
-
identity_matrix
(
m2
)))
<
1e-1
2
);
DLIB_TEST
(
max
(
abs
(
m3
*
inv
(
m3
)
-
identity_matrix
(
m3
)))
<
1e-13
);
DLIB_TEST_MSG
(
max
(
abs
(
m4
*
inv
(
m4
)
-
identity_matrix
(
m4
)))
<
1e-12
,
max
(
abs
(
m4
*
inv
(
m4
)
-
identity_matrix
(
m4
))));
}
...
...
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