diff --git a/scala-package/core/src/test/scala/org/apache/mxnet/NDArraySuite.scala b/scala-package/core/src/test/scala/org/apache/mxnet/NDArraySuite.scala index 2db9ff11b374..2f3b1676d272 100644 --- a/scala-package/core/src/test/scala/org/apache/mxnet/NDArraySuite.scala +++ b/scala-package/core/src/test/scala/org/apache/mxnet/NDArraySuite.scala @@ -190,7 +190,7 @@ class NDArraySuite extends FunSuite with BeforeAndAfterAll with Matchers { assert(arrPower3.shape === Shape(2, 1)) assert(arrPower3.toArray === Array(27f, 3125f)) - val arrPower4 = arr ** 2f + val arrPower4 = arr ** 2f assert(arrPower4.shape === Shape(2, 1)) assert(arrPower4.toArray === Array(9f, 25f))