mirror of
https://git.gfz-potsdam.de/naaice/iphreeqc.git
synced 2025-12-16 00:28:23 +01:00
Fix memory bug in ex13_impl, tweak Makefile.
This commit is contained in:
parent
7c538b62a7
commit
885a2f7728
@ -2806,11 +2806,11 @@ diffuse_implicit(LDBLE DDt, int stagnant)
|
||||
}
|
||||
cell_data[i + 1].potV = cell_data[i].potV + dVc;
|
||||
}
|
||||
if (!dV_dcell || fix_current)
|
||||
{
|
||||
dVc = current_cells[i].R * (current_x - current_cells[i].dif);
|
||||
cell_data[i + 1].potV = cell_data[i].potV + dVc;
|
||||
}
|
||||
//if (!dV_dcell || fix_current)
|
||||
//{
|
||||
// dVc = current_cells[i].R * (current_x - current_cells[i].dif);
|
||||
// cell_data[i + 1].potV = cell_data[i].potV + dVc;
|
||||
//}
|
||||
|
||||
for (cp = 0; cp < comp; cp++)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user