mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 08:38:23 +01:00
Merge commit '2697dc958cee10b7a5fedeec8b98fbb2aa30f62a'
This commit is contained in:
commit
8c84982254
@ -765,8 +765,9 @@ read_transport(void)
|
||||
* Allocate space for cell_data
|
||||
*/
|
||||
int all_cells_now = max_cells * (1 + stag_data.count_stag) + 2;
|
||||
cell_data.resize(all_cells_now); // initialized by global_structures.h
|
||||
// But first two previously allocated
|
||||
cell_data.resize(all_cells_now); // new classes initialized by global_structures.h
|
||||
// But first two previously allocated for Change_Surf, so may
|
||||
// need to reinitialize
|
||||
if (all_cells_now > all_cells)
|
||||
{
|
||||
for (int i = all_cells; i < all_cells_now; i++)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user