Skip to content

Commit

Permalink
fix colmap convention for the pair id calculation (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
lpanaf authored Dec 13, 2024
1 parent 2a3db50 commit db294c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion glomap/scene/types.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#pragma once

#include <colmap/geometry/rigid3.h>
#include <colmap/scene/database.h>
#include <colmap/util/types.h>

#include <cstdint>
Expand Down Expand Up @@ -33,7 +34,7 @@ typedef uint64_t track_t;

using colmap::Rigid3d;

const image_t kMaxNumImages = std::numeric_limits<image_t>::max();
const image_t kMaxNumImages = colmap::Database::kMaxNumImages;
const image_pair_t kInvalidImagePairId = -1;

} // namespace glomap

0 comments on commit db294c1

Please sign in to comment.