diff options
author | Jonathan Hseu <jhseu@google.com> | 2016-12-08 12:06:01 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-12-08 12:26:38 -0800 |
commit | 6fc0a4185867e80b025e33d10df9268dfd62632c (patch) | |
tree | e77c5056086b78c7f8c4cf37fb29c765598a38ee /tensorflow/contrib/solvers | |
parent | 1ac9cf460e4b76e99a67be9003870ca18c0853df (diff) |
Bump the tolerance in linear_equations_test.py to fix the AVX build on macs.
Change: 141467544
Diffstat (limited to 'tensorflow/contrib/solvers')
-rw-r--r-- | tensorflow/contrib/solvers/python/kernel_tests/linear_equations_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/contrib/solvers/python/kernel_tests/linear_equations_test.py b/tensorflow/contrib/solvers/python/kernel_tests/linear_equations_test.py index 1de0b4b468..f8265883c9 100644 --- a/tensorflow/contrib/solvers/python/kernel_tests/linear_equations_test.py +++ b/tensorflow/contrib/solvers/python/kernel_tests/linear_equations_test.py @@ -45,7 +45,7 @@ def _get_linear_equations_tests(dtype_, use_static_shape_, shape_): a_np = np.dot(a_np.T, a_np) rhs_np = np.random.uniform( low=-1.0, high=1.0, size=shape_[0]).astype(dtype_) - tol = 1e-8 if dtype_ == np.float64 else 1e-4 + tol = 1e-6 if dtype_ == np.float64 else 1e-3 max_iter = 20 with self.test_session() as sess: if use_static_shape_: |