Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
MMCV
Commits
753afb07
Commit
753afb07
authored
Jun 13, 2025
by
limm
Browse files
fix min area polygons core dumped
parent
e128be2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mmcv/ops/csrc/common/cuda/min_area_polygons_cuda.cuh
mmcv/ops/csrc/common/cuda/min_area_polygons_cuda.cuh
+1
-1
No files found.
mmcv/ops/csrc/common/cuda/min_area_polygons_cuda.cuh
View file @
753afb07
...
@@ -158,7 +158,7 @@ __device__ inline void minBoundingRect(Point *ps, int n_points, float *minbox) {
...
@@ -158,7 +158,7 @@ __device__ inline void minBoundingRect(Point *ps, int n_points, float *minbox) {
}
}
// convex_find
// convex_find
__device__
inline
void
Jarvis
(
Point
*
in_poly
,
int
&
n_poly
)
{
__attribute__
((
optnone
))
__device__
inline
void
Jarvis
(
Point
*
in_poly
,
int
&
n_poly
)
{
int
n_input
=
n_poly
;
int
n_input
=
n_poly
;
Point
input_poly
[
20
];
Point
input_poly
[
20
];
for
(
int
i
=
0
;
i
<
n_input
;
i
++
)
{
for
(
int
i
=
0
;
i
<
n_input
;
i
++
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment