MCPcopy Create free account
hub / github.com/numpy/numpy / get_rtol

Function get_rtol

numpy/linalg/tests/test_linalg.py:61–66  ·  view source on GitHub ↗
(dtype)

Source from the content-addressed store, hash-verified

59
60
61def get_rtol(dtype):
62 # Choose a safe rtol
63 if dtype in (single, csingle):
64 return 1e-5
65 else:
66 return 1e-11
67
68
69# used to categorize tests

Callers 7

doMethod · 0.85
doMethod · 0.85
doMethod · 0.85
doMethod · 0.85
test_UPLOMethod · 0.85
doMethod · 0.85
test_UPLOMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected