chol.cc: Increase tolerance for single precision test.
author |
Ben Abbott <bpabbott@mac.com> |
date |
Fri, 12 Mar 2010 19:15:39 -0500 |
parents |
a87afd063e7d |
children |
479cc8a0a846 |
files |
src/ChangeLog src/DLD-FUNCTIONS/chol.cc |
diffstat |
2 files changed, 5 insertions(+), 1 deletions(-)
[+]
|
line diff
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-12 Ben Abbott <bpabbott@mac.com>
+
+ * /DLD-FUNCTIONS/chol.cc: Increase tolerance for single precision test.
+
2010-03-09 Jaroslav Hajek <highegg@gmail.com>
* DLD-FUNCTIONS/lookup.cc (Flookup): Fix deprecated array constructor.
--- a/src/DLD-FUNCTIONS/chol.cc
+++ b/src/DLD-FUNCTIONS/chol.cc
@@ -985,7 +985,7 @@
%! R1 = cholinsert(R,j,u2); A1 = R1'*R1;
%!
%! assert(norm(triu(R1)-R1,Inf) == 0)
-%! assert(norm(A1(p,p) - single(Ac),Inf) < 1e1*eps('single'))
+%! assert(norm(A1(p,p) - single(Ac),Inf) < 2e1*eps('single'))
%!
*/