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
342e4ce4
Commit
342e4ce4
authored
Dec 23, 2019
by
rusty1s
Browse files
typo
parent
04593307
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_sparse/storage.py
torch_sparse/storage.py
+1
-1
No files found.
torch_sparse/storage.py
View file @
342e4ce4
...
@@ -40,7 +40,7 @@ class cached_property(object):
...
@@ -40,7 +40,7 @@ class cached_property(object):
value
=
getattr
(
obj
,
f
'_
{
self
.
func
.
__name__
}
'
,
None
)
value
=
getattr
(
obj
,
f
'_
{
self
.
func
.
__name__
}
'
,
None
)
if
value
is
None
:
if
value
is
None
:
value
=
self
.
func
(
obj
)
value
=
self
.
func
(
obj
)
if
_
_cache_
flag__
[
'
enabled
'
]
:
if
is
_cache_enabled
()
:
setattr
(
obj
,
f
'_
{
self
.
func
.
__name__
}
'
,
value
)
setattr
(
obj
,
f
'_
{
self
.
func
.
__name__
}
'
,
value
)
return
value
return
value
...
...
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