Skip to content

Commit d2ef29f

Browse files
authored
Fix formatting of volumeEllipsoid method
1 parent 31f4cff commit d2ef29f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ public static double volumeTorus(double majorRadius, double minorRadius) {
135135
* @param c third semi-axis of an ellipsoid
136136
* @return volume of the ellipsoid
137137
*/
138-
public static double volumeEllipsoid(double a, double b, double c)
138+
public static double volumeEllipsoid(double a, double b, double c) {
139139
return 4 / 3 * Math.PI * a * b * c;
140+
}
140141
}

0 commit comments

Comments
 (0)