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
5dc4080c
Commit
5dc4080c
authored
Jan 13, 2020
by
rusty1s
Browse files
typo
parent
e661481d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
test/test_rowptr.py
test/test_rowptr.py
+1
-4
No files found.
test/test_rowptr.py
View file @
5dc4080c
...
@@ -29,10 +29,7 @@ tests = [
...
@@ -29,10 +29,7 @@ tests = [
def
rowptr
(
row
,
size
):
def
rowptr
(
row
,
size
):
if
row
.
is_cuda
:
return
(
rowptr_cuda
if
row
.
is_cuda
else
rowptr_cpu
).
rowptr
(
row
,
size
)
return
rowptr_cuda
.
rowptr
(
row
,
size
)
else
:
return
rowptr_cpu
.
rowptr
(
row
,
size
)
@
pytest
.
mark
.
parametrize
(
'test,device'
,
product
(
tests
,
devices
))
@
pytest
.
mark
.
parametrize
(
'test,device'
,
product
(
tests
,
devices
))
...
...
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