Skip to content

Commit af90b32

Browse files
ctruedengselzer
authored andcommitted
Sqrt: use double colon syntax
1 parent c22dc55 commit af90b32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/org/scijava/ops/math/Sqrt.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class Sqrt {
2020
@OpField(names = NAMES)
2121
@Parameter(key = "number1")
2222
@Parameter(key = "result", itemIO = ItemIO.OUTPUT)
23-
public static final Function<Double, Double> MathSqrtDoubleFunction = (t) -> Math.sqrt(t);
23+
public static final Function<Double, Double> MathSqrtDoubleFunction = Math::sqrt;
2424

2525
// --------- Computers ---------
2626

0 commit comments

Comments
 (0)