Skip to content

Commit

Permalink
remove overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
erikerlandson committed Dec 26, 2023
1 parent 2e8c562 commit 65a0478
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions core/src/main/scala/spire/math/Fractional.scala
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ private[math] class DoubleIsFractional
with ConvertableToDouble
with DoubleIsReal
with Serializable {
override def fromInt(n: Int): Double = n
override def fromDouble(n: Double): Double = n
override def fromBigInt(n: BigInt): Double = n.toDouble
override def toDouble(n: Double): Double = n.toDouble
override def toRational(n: Double): Rational = super[DoubleIsReal].toRational(n)
Expand Down
2 changes: 0 additions & 2 deletions core/src/main/scala/spire/math/Numeric.scala
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,6 @@ private[math] class DoubleIsNumeric
with ConvertableToDouble
with DoubleIsReal
with Serializable {
override def fromInt(n: Int): Double = n.toDouble
override def fromDouble(n: Double): Double = n
override def fromBigInt(n: BigInt): Double = n.toDouble
override def toDouble(n: Double): Double = n.toDouble
override def toRational(n: Double): Rational = super[DoubleIsReal].toRational(n)
Expand Down

0 comments on commit 65a0478

Please sign in to comment.