Skip to content

Commit 0537442

Browse files
committed
Fix formatting issues reported by clang-format
1 parent b617dff commit 0537442

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/main/java/com/thealgorithms/maths/PowerUsingRecursion.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ private PowerUsingRecursion() {
1616
* @param exponent the power (can be negative)
1717
* @return base^exponent
1818
*/
19-
2019
public static double power(double base, int exponent) {
2120

2221
// Handle negative exponent: a^-n = 1 / (a^n)

src/test/java/com/thealgorithms/maths/PowerUsingRecursionTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ void testPowerUsingRecursion() {
2525
// another negative exponent
2626
assertEquals(0.5, PowerUsingRecursion.power(2.0, -1));
2727
}
28-
2928
}

0 commit comments

Comments
 (0)