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
torch-sparse
Commits
94ab0e83
Commit
94ab0e83
authored
Feb 23, 2020
by
rusty1s
Browse files
typo
parent
b6dfb9ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
csrc/cpu/metis_wrapper_cpu.cpp
csrc/cpu/metis_wrapper_cpu.cpp
+1
-1
No files found.
csrc/cpu/metis_wrapper_cpu.cpp
View file @
94ab0e83
...
@@ -18,7 +18,7 @@ torch::Tensor partition_cpu(torch::Tensor rowptr, torch::Tensor col,
...
@@ -18,7 +18,7 @@ torch::Tensor partition_cpu(torch::Tensor rowptr, torch::Tensor col,
auto
part_data
=
part
.
data_ptr
<
int64_t
>
();
auto
part_data
=
part
.
data_ptr
<
int64_t
>
();
if
(
recursive
)
{
if
(
recursive
)
{
METIS
PartGraphRecursive
(
&
nvtxs
,
&
ncon
,
xadj
,
adjncy
,
NULL
,
NULL
,
NULL
,
METIS
_
PartGraphRecursive
(
&
nvtxs
,
&
ncon
,
xadj
,
adjncy
,
NULL
,
NULL
,
NULL
,
&
num_parts
,
NULL
,
NULL
,
NULL
,
&
objval
,
part_data
);
&
num_parts
,
NULL
,
NULL
,
NULL
,
&
objval
,
part_data
);
}
else
{
}
else
{
METIS_PartGraphKway
(
&
nvtxs
,
&
ncon
,
xadj
,
adjncy
,
NULL
,
NULL
,
NULL
,
METIS_PartGraphKway
(
&
nvtxs
,
&
ncon
,
xadj
,
adjncy
,
NULL
,
NULL
,
NULL
,
...
...
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