Skip to content

Commit

Permalink
util/vec2d_t.hpp: adjust x() method availability.
Browse files Browse the repository at this point in the history
  • Loading branch information
dot-asm committed Nov 27, 2024
1 parent da08434 commit 0105e37
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions util/vec2d_t.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,8 @@ class vec2d_t {
inline T* operator[](size_t y) const { return ptr + dim_x*y; }
__host__ __device__
inline dim_t y() const { return dim_y_owned >> 1; }

#ifndef NDEBUG
__host__ __device__
inline dim_t x() const { return dim_x; }
#endif
};

#if !defined(__CUDACC__) && !defined(__HIPCC__)
Expand Down

0 comments on commit 0105e37

Please sign in to comment.