Fixed a bad error that crept into the solver from a recent commit

This commit is contained in:
Harry Moffat 2011-04-19 16:41:45 +00:00
parent 36b44fd278
commit d60d189843

View file

@ -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.;