Skip to content

Commit f8e12ef

Browse files
authored
Merge pull request #6041 from psikomonkie/fix-javadoc-error
2 parents a064533 + ff8231c commit f8e12ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: MekHQ/src/mekhq/campaign/universe/StarUtil.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -801,15 +801,15 @@ public static String getIconImage(PlanetarySystem system) {
801801
* Estimates the radius of a star using its luminosity and temperature, based on the
802802
* Stefan-Boltzmann law:
803803
* <pre>
804-
* R = √(L / (4πσT))
804+
* R = √(L / (4πσT^4))
805805
* </pre>
806806
*
807807
* Where:
808808
* <ul>
809809
* <li><b>R</b> is the radius of the star (in meters).</li>
810810
* <li><b>L</b> is the luminosity of the star (in watts).</li>
811811
* <li><b>T</b> is the effective temperature of the star (in Kelvin).</li>
812-
* <li><b>σ</b> is the Stefan-Boltzmann constant (5.67 × 10⁻⁸ W·m⁻²·K⁻⁴).</li>
812+
* <li><b>σ</b> is the Stefan-Boltzmann constant (5.67 × 10^-8 W·m^-2 · K^-4).</li>
813813
* </ul>
814814
*
815815
* @param luminosity The luminosity of the star in watts. Must be greater than 0.

0 commit comments

Comments
 (0)