swent-group10 / polyfit

0 stars 1 forks source link

Bug that caused the values of Height and Weight to be infinity #335

Closed RandomUsername1315 closed 3 months ago

RandomUsername1315 commented 3 months ago

Bugfix

Fixed an issue where user-entered height and weight values that were too large would be rounded up to infinity. The fix ensures that when Kotlin automatically rounds a number to infinity, the previous valid entry is used instead.

RandomUsername1315 commented 3 months ago

@medwardson in theory it should be the exact same fix.

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
92.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud