diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2021-01-01 01:30:13 +0100 |
---|---|---|
committer | bstoeger <32835590+bstoeger@users.noreply.github.com> | 2021-01-01 21:10:10 +0100 |
commit | 60999e3a3933919e873337df8a74d9fab26bc2cf (patch) | |
tree | df3e481c72c45b82aaec685dc523a1b352f19508 /core/gas.c | |
parent | 1270d9470129901215fc2173934602d7cd77836f (diff) | |
download | subsurface-60999e3a3933919e873337df8a74d9fab26bc2cf.tar.gz |
core: make gasmix_is_invalid globally accessible
The statistics module will use that to bin dives by gasmix.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/gas.c')
-rw-r--r-- | core/gas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/gas.c b/core/gas.c index d37b614fb..e62bed1ea 100644 --- a/core/gas.c +++ b/core/gas.c @@ -22,7 +22,7 @@ bool isobaric_counterdiffusion(struct gasmix oldgasmix, struct gasmix newgasmix, return get_he(oldgasmix) > 0 && results->dN2 > 0 && results->dHe < 0 && get_he(oldgasmix) && results->dN2 > 0 && 5 * results->dN2 > -results->dHe; } -static bool gasmix_is_invalid(struct gasmix mix) +bool gasmix_is_invalid(struct gasmix mix) { return mix.o2.permille < 0; } |