disable algorithm switching

This commit is contained in:
Val Erastov 2015-02-23 23:07:41 -08:00
parent 3889e6fdd2
commit 0a75393423

View file

@ -294,10 +294,10 @@ TCAD.TWO.ParametricManager.prototype.prepare = function(locked) {
for (var i = 0; i < solvers.length; i++) {
var alg = subSystems[i].alg;
if (solvers[i].solve(rough, alg) !== 1) {
alg = alg == 1 ? 2 : 1;
if (solvers[i].solve(rough, alg) == 1) {
subSystems[i].alg = alg;
}
//alg = alg == 1 ? 2 : 1;
//if (solvers[i].solve(rough, alg) == 1) {
// subSystems[i].alg = alg;
//}
}
}
},