Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrine committed Mar 31, 2020
1 parent ac012ea commit 11f781d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions geoopt/manifolds/scaled.py
Expand Up @@ -136,12 +136,12 @@ def _base_attributes(self):
if isinstance(self.base, Scaled):
return self.base._base_attributes
else:
base_attribures = set(dir(self.base.__class__))
base_attribures |= set(self.base.__dict__.keys())
return base_attribures
base_attributes = set(dir(self.base.__class__))
base_attributes |= set(self.base.__dict__.keys())
return base_attributes

def __dir__(self):
return list(set(super().__dir__()) | self.base_attribures)
return list(set(super().__dir__()) | self._base_attributes)

def __repr__(self):
extra = self.base.extra_repr()
Expand Down

0 comments on commit 11f781d

Please sign in to comment.