Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/numpy/numpy
/ compare
Function
compare
numpy/ma/testutils.py:241–242 ·
view source on GitHub ↗
(x, y)
Source
from the content-addressed store, hash-verified
239
240
""
"
241
def
compare(x, y):
242
return
(not np.all(approx(x, y)))
243
assert_array_compare(compare, x, y, err_msg=err_msg, verbose=verbose,
244
header=
'Arrays are not equal'
)
245
Callers
1
_comparison
Method · 0.70
Calls
3
approx
Function · 0.85
almost
Function · 0.85
all
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…