From 67840e7470d22cff8e3c7a89a958f7526a7fcc76 Mon Sep 17 00:00:00 2001 From: Yu-Hsiang Lan Date: Tue, 22 Oct 2024 15:52:40 -0500 Subject: [PATCH] Update doc --- course/page/code.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/course/page/code.py b/course/page/code.py index e7a46d387..42b40117e 100644 --- a/course/page/code.py +++ b/course/page/code.py @@ -1263,7 +1263,8 @@ class PythonCodeQuestion(CodeQuestion, PageBaseWithoutHumanGrading): feedback.check_numpy_array_sanity(name, num_axes, data) - feedback.check_numpy_array_features(name, ref, data, report_failure=True) + feedback.check_numpy_array_features(name, ref, data, check_finite=True, + report_failure=True) feedback.check_numpy_array_allclose(name, ref, data, accuracy_critical=True, rtol=1e-5, atol=1e-8,