diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-13 00:12:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-09 19:19:04 +0100 |
commit | 05a5a06fd3905db25208a0f794b54cf27e580904 (patch) | |
tree | aed04703f25a2b7c86614b3478945f6c688924d6 /qt-models | |
parent | 00289cd2224bbf3bbb8568f52a73e52596bd8e6e (diff) | |
download | subsurface-05a5a06fd3905db25208a0f794b54cf27e580904.tar.gz |
Profile: dynamically allocate gases array
To calculate sac rates, an array of used gases for every point on the
profile was used. This was implemented using unsigned int bitfields.
While nobody sane will ever use 32 or even 64 cylinders, for consistency
with the rest of the code, also change this to use dynamically
allocated arrays.
But allocate only once per shown profile, not once per sample.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
0 files changed, 0 insertions, 0 deletions