Skip to content

Commit 3c446c0

Browse files
fix condition when numpy`s array is not float16
1 parent 6f4a4fc commit 3c446c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def assert_dtype_allclose(dpnp_arr, numpy_arr, check_type=True):
4242

4343
if is_np_arr_f2 and has_support_aspect16(dpnp_arr_dev):
4444
assert dpnp_arr_dtype == numpy_arr_dtype
45-
elif is_np_arr_f2 and (
45+
elif not is_np_arr_f2 and (
4646
has_support_aspect64(dpnp_arr_dev)
4747
or numpy_arr_dtype not in list_64bit_types
4848
):

0 commit comments

Comments
 (0)