Skip to content

Commit

Permalink
chore: remove typo (#13914) (#13916)
Browse files Browse the repository at this point in the history
(cherry picked from commit 34dcca7)

Co-authored-by: Julien Robert <[email protected]>
  • Loading branch information
mergify[bot] and julienrbrt authored Nov 18, 2022
1 parent 008b883 commit 0d8a239
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions x/group/internal/math/dec.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ func (x Dec) IsPositive() bool {
return !x.dec.Negative && !x.dec.IsZero()
}

func (x Dec) IsFinite() bool {
return x.dec.Form != apd.Finite
}

// NewDecFromString returns a new Dec from a string
// It only support finite numbers, not NaN, +Inf, -Inf
func NewDecFromString(s string) (Dec, error) {
Expand Down

0 comments on commit 0d8a239

Please sign in to comment.