diff options
author | over0219 <over0219@umn.edu> | 2020-07-09 22:57:10 +0300 |
---|---|---|
committer | over0219 <over0219@umn.edu> | 2020-07-09 22:57:10 +0300 |
commit | 24947f3a0226615d91ac7c6c88d466e8d6983cf7 (patch) | |
tree | 5126eea53340ba0d891bdb54cdc0fc9434b33861 /extern/softbody/src/admmpd_solver.cpp | |
parent | 14a76718e5e0d16c87e45f27f20a31aebe1e19e6 (diff) |
weights work
Diffstat (limited to 'extern/softbody/src/admmpd_solver.cpp')
-rw-r--r-- | extern/softbody/src/admmpd_solver.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extern/softbody/src/admmpd_solver.cpp b/extern/softbody/src/admmpd_solver.cpp index e1408b4d53e..922f6a58612 100644 --- a/extern/softbody/src/admmpd_solver.cpp +++ b/extern/softbody/src/admmpd_solver.cpp @@ -141,7 +141,7 @@ void Solver::init_solve( else { // Scale stiffness by A diagonal max - double pin_k_scale = std::sqrt(data->A_diag_max); + double pin_k_scale = data->A_diag_max; int np = q_coeffs.size(); RowSparseMatrix<double> P(np, nx*3); P.setFromTriplets(trips.begin(), trips.end()); |