Skip to content

Commit 8f886cc

Browse files
authored
Fix formatting of ellipsoid volume method documentation
1 parent 37e22e9 commit 8f886cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,15 +126,14 @@ public static double volumeTorus(double majorRadius, double minorRadius) {
126126
return 2 * Math.PI * Math.PI * majorRadius * minorRadius * minorRadius;
127127
}
128128

129-
130129
/**
131130
* Calculate the volume of an ellipsoid.
132131
*
133132
* @param a first semi-axis of an ellipsoid
134133
* @param b second semi-axis of an ellipsoid
135134
* @param c third semi-axis of an ellipsoid
136135
* @return volume of the ellipsoid
137-
*/
136+
*/
138137
public static double volumeEllipsoid(double a, double b, double c) {
139138
return (4 * Math.PI * a * b * c) / 3;
140139
}

0 commit comments

Comments
 (0)