From 25764afcfca1fecef87c50a2e9ded0cc929f48f1 Mon Sep 17 00:00:00 2001 From: Juan Fumero Date: Thu, 4 Jul 2024 11:55:03 +0200 Subject: [PATCH] Unnecessary type cast removed --- .../tornado/unittests/math/TestTornadoMathCollection.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/math/TestTornadoMathCollection.java b/tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/math/TestTornadoMathCollection.java index de000188e7..560cf0d1fe 100644 --- a/tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/math/TestTornadoMathCollection.java +++ b/tornado-unittests/src/main/java/uk/ac/manchester/tornado/unittests/math/TestTornadoMathCollection.java @@ -579,7 +579,7 @@ public void testTornadoMathAtanDouble() throws TornadoExecutionPlanException { DoubleArray seq = new DoubleArray(size); IntStream.range(0, size).parallel().forEach(i -> { - data.set(i, (float) Math.random()); + data.set(i, Math.random()); seq.set(i, data.get(i)); });