Skip to content

Commit

Permalink
smoothing nub False by default
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestoarbitrio committed Sep 24, 2020
1 parent 0b40ab8 commit f91c836
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/cr/cube/cubepart.py
Original file line number Diff line number Diff line change
Expand Up @@ -1233,6 +1233,11 @@ class _Nub(CubePartition):
def is_empty(self):
return False if self.unweighted_count else True

@lazyproperty
def is_smoothed(self):
"""A `_Nub` object is not smoothed by default"""
return False

@lazyproperty
def means(self):
return self._scalar.means
Expand Down

0 comments on commit f91c836

Please sign in to comment.