Fixed a bad error that crept into the solver from a recent commit
This commit is contained in:
parent
36b44fd278
commit
d60d189843
1 changed files with 1 additions and 1 deletions
|
|
@ -2118,7 +2118,7 @@ namespace VCSnonideal {
|
|||
a = 100.0;
|
||||
}
|
||||
tmp = -dg_irxn / (1.0 + a);
|
||||
if (tmp < 200.) {
|
||||
if (tmp < -200.) {
|
||||
tmp = -200.;
|
||||
} else if ( tmp > 200.) {
|
||||
tmp = 200.;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue