Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nvblox/include/nvblox/core/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Time {
constexpr Time() : time_(0UL) {}

// Conversion operator to int64_t
explicit operator int64_t() const { return time_; }
explicit __host__ __device__ operator int64_t() const { return time_; }
// Heaps of (trivial) operator overloading
__host__ __device__ bool operator==(const Time& other) const {
return time_ == other.time_;
Expand Down