From d695e0d080f861bea60e1bbbd0cd59072da22a54 Mon Sep 17 00:00:00 2001 From: basebala Date: Tue, 7 Jul 2026 22:51:06 -0700 Subject: [PATCH] Change error from array to float in test cases --- tests/process_data/test_process_images.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/process_data/test_process_images.py b/tests/process_data/test_process_images.py index b27346c68..86f188d97 100644 --- a/tests/process_data/test_process_images.py +++ b/tests/process_data/test_process_images.py @@ -59,7 +59,7 @@ def test_process_images_skip_colmap(tmp_path: Path): id=1, xyz=np.array([0, 0, 0]), rgb=np.array([0, 0, 0]), - error=np.array([0]), + error=0.0, image_ids=np.array([1]), point2D_idxs=np.array([0]), ), @@ -144,7 +144,7 @@ def test_process_images_recursively_skip_colmap(tmp_path: Path): id=1, xyz=np.array([0, 0, 0]), rgb=np.array([0, 0, 0]), - error=np.array([0]), + error=0.0, image_ids=np.array([1]), point2D_idxs=np.array([0]), ),