mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-10 02:13:58 +01:00
disable algorithm switching
This commit is contained in:
parent
3889e6fdd2
commit
0a75393423
1 changed files with 4 additions and 4 deletions
|
|
@ -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;
|
||||
//}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue