diff --git a/core/src/main/scala/spire/math/Fractional.scala b/core/src/main/scala/spire/math/Fractional.scala index ac422e7c1..e6c34a286 100644 --- a/core/src/main/scala/spire/math/Fractional.scala +++ b/core/src/main/scala/spire/math/Fractional.scala @@ -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) diff --git a/core/src/main/scala/spire/math/Numeric.scala b/core/src/main/scala/spire/math/Numeric.scala index dae0713d2..297652ea3 100644 --- a/core/src/main/scala/spire/math/Numeric.scala +++ b/core/src/main/scala/spire/math/Numeric.scala @@ -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)