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
45d35e6c
Commit
45d35e6c
authored
Jan 08, 2017
by
Stefan Schweter
Committed by
Davis E. King
Jan 08, 2017
Browse files
Made matrix2 test more robust on ARM64 (#394)
parent
365dfd20
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 @
45d35e6c
...
...
@@ -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