Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasFrey96 committed Apr 18, 2024
1 parent 0ecb24a commit a23191f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def image_to_map_correspondence_kernel(resolution, width, height, tolerance_z_co
return layer * layer_n + idx;
}
__device__ bool is_inside_map(int x, int y) {
return (x >= 0 && y >= 0 && x<${width} && x<${height});
return (x >= 0 && y >= 0 && x<${width} && y<${height});
}
__device__ float get_l2_distance(int x0, int y0, int x1, int y1) {
float dx = x0-x1;
Expand Down

0 comments on commit a23191f

Please sign in to comment.