You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not sure how the grader changes the type, this is failing for all 4 tests.
======================================================================
ERROR: test_cov (week1_tests.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autograde_pnpmxbbt/week1_tests.py", line 32, in test_cov
np.testing.assert_allclose(result, cov(X))
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1533, in assert_allclose
verbose=verbose, header=header, equal_nan=equal_nan)
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 794, in assert_array_compare
val = comparison(x, y)
File "/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py", line 1528, in compare
equal_nan=equal_nan)
File "<__array_function__ internals>", line 6, in isclose
File "/opt/conda/lib/python3.7/site-packages/numpy/core/numeric.py", line 2257, in isclose
xfin = isfinite(x)
TypeError: ufunc 'isfinite' not supported for the input types, and the inputs could not be safely coerced to any supported types according to the casting rule ''safe''
It appears to fail for functions defined in this notebook here as well.
The text was updated successfully, but these errors were encountered:
The graded function specifically returns:
not sure how the grader changes the type, this is failing for all 4 tests.
It appears to fail for functions defined in this notebook here as well.
The text was updated successfully, but these errors were encountered: