Files
Bubberstation/code
SkyratBot 7e6bef4a90 [NO GBP] Loosens gas pressure transfer calculation limit a bit. (#66553) (#13363)
I initially kept it an exclusive check so funny things like division by inf doesnt get in, but I implemented more inf checks on the quadratic proc and the likes so it really shouldnt be necessary now. This should hopefully reduce cases when the target pressure hits the upper limit because the target gasmix has a miniscule amount of moles, having the result be rejected by the code, and triggering a runtime.

And some minor improvements to the code so it doesnt iterate through the gaslist multiple times.
Nicer code

Co-authored-by: vincentiusvin <54709710+vincentiusvin@users.noreply.github.com>
2022-05-06 12:49:16 +01:00
..
2022-05-06 12:48:27 +01:00