Skip to content

Commit c28b862

Browse files
committed
??
1 parent aabcc10 commit c28b862

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

array_api_tests/hypothesis_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,15 +376,15 @@ def symmetric_matrices(draw, dtypes=real_floating_dtypes, finite=True, bound=10.
376376
finite = draw(finite)
377377
if finite:
378378
elements = {'allow_nan': False, 'allow_infinity': False,
379-
'min_value': -bound, 'max_value': bound}
379+
'min_value': 1/bound, 'max_value': bound}
380380
else:
381381
elements = None
382382
a = draw(arrays(dtype=dtype, shape=shape, elements=elements))
383383
at = ah._matrix_transpose(a)
384384
H = (a + at)*0.5
385385
if finite:
386386
assume(not xp.any(xp.isinf(H)))
387-
assume(xp.all((H == 0.) | ((1/bound <= xp.abs(H)) & (xp.abs(H) <= bound))))
387+
## assume(xp.all((H == 0.) | ((1/bound <= xp.abs(H)) & (xp.abs(H) <= bound))))
388388
return H
389389

390390
@composite

0 commit comments

Comments
 (0)