Skip to content

Commit

Permalink
changed np.NaN to np.nan for compatibility with numpy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
franioli committed Oct 16, 2024
1 parent 992124c commit 7895024
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/deep_image_matching/hloc/utils/database.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,9 @@
# This script is based on an original implementation by True Price.

import sqlite3
import sys

import numpy as np

IS_PYTHON3 = sys.version_info[0] >= 3

MAX_IMAGE_ID = 2**31 - 1

CREATE_CAMERAS_TABLE = """CREATE TABLE IF NOT EXISTS cameras (
Expand Down

0 comments on commit 7895024

Please sign in to comment.