From da6347a8d4f6c5495abbdf94824ec97f0f7e826d Mon Sep 17 00:00:00 2001 From: Haoyang Li Date: Mon, 13 May 2024 16:38:21 +0800 Subject: [PATCH] Address comment Signed-off-by: Haoyang Li --- integration_tests/src/main/python/get_json_test.py | 1 + 1 file changed, 1 insertion(+) diff --git a/integration_tests/src/main/python/get_json_test.py b/integration_tests/src/main/python/get_json_test.py index df7e79015ff..1e1fd713530 100644 --- a/integration_tests/src/main/python/get_json_test.py +++ b/integration_tests/src/main/python/get_json_test.py @@ -418,4 +418,5 @@ def json_string_to_float(x): else: return float(x) for i in range(len(gpu_res)): + # verify relatively diff < 1e-9 (default value for is_close) assert math.isclose(json_string_to_float(gpu_res[i][0]), json_string_to_float(cpu_res[i][0]))