mirror of
https://github.com/xibyte/jsketcher
synced 2025-12-14 20:33:30 +01:00
improved performance of dogleg
This commit is contained in:
parent
c2cd17fdb6
commit
ff89d478e7
1 changed files with 1 additions and 1 deletions
|
|
@ -381,7 +381,7 @@ optim.dog_leg = function (subsys, rough) {
|
|||
// h_gn = lusolve(Jx, n.mul(fx, -1));
|
||||
|
||||
//Conjugate gradient method
|
||||
h_gn = optim.cg(Jx, h_gn, n.mul(fx, -1), 1e-8, maxIterNumber);
|
||||
//h_gn = optim.cg(Jx, h_gn, n.mul(fx, -1), 1e-8, maxIterNumber);
|
||||
|
||||
//solve linear problem using svd formula to get the gauss-newton step
|
||||
//h_gn = lls(Jx, n.mul(fx, -1));
|
||||
|
|
|
|||
Loading…
Reference in a new issue