MCPcopy
hub / github.com/numpy/numpy / get_rtol

Function get_rtol

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

Source from the content-addressed store, hash-verified

83
84
85def get_rtol(dtype):
86 # Choose a safe rtol
87 if dtype in (single, csingle):
88 return 1e-5
89 else:
90 return 1e-11
91
92
93# 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

Used in the wild real call sites across dependent graphs

searching dependent graphs…