Skip to content

Commit

Permalink
unnecessary (#6870)
Browse files Browse the repository at this point in the history
  • Loading branch information
DongLieu authored Nov 13, 2023
1 parent d959f61 commit d72968c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion osmomath/sqrt_big_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
)

func generateRandomDecForEachBitlenBigDec(r *rand.Rand, numPerBitlen int) []BigDec {
return generateRandomDecForEachBitlen[BigDec](r, numPerBitlen, NewBigDecFromBigIntWithPrec, BigDecPrecision)
return generateRandomDecForEachBitlen(r, numPerBitlen, NewBigDecFromBigIntWithPrec, BigDecPrecision)
}

func TestSdkApproxSqrtVectors_BigDec(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion osmomath/sqrt_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func generateRandomDecForEachBitlenDec(r *rand.Rand, numPerBitlen int) []Dec {
return generateRandomDecForEachBitlen[Dec](r, numPerBitlen, NewDecFromBigIntWithPrec, DecPrecision)
return generateRandomDecForEachBitlen(r, numPerBitlen, NewDecFromBigIntWithPrec, DecPrecision)
}

func generateRandomDecForEachBitlen[T any](r *rand.Rand, numPerBitlen int, constructor func(*big.Int, int64) T, precision int64) []T {
Expand Down

0 comments on commit d72968c

Please sign in to comment.