Skip to content

Commit

Permalink
fixed weight filter for linear weights of qpalm solver
Browse files Browse the repository at this point in the history
  • Loading branch information
maltehue committed Nov 28, 2023
1 parent ee486e5 commit 42d6c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/giskardpy/qp/qp_solver_qpalm.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def update_filters(self):
@profile
def apply_filters(self):
self.weights = self.weights[self.weight_filter]
# self.g = np.zeros(*self.weights.shape)
self.g = self.g[self.weight_filter]
self.lb_bE_lbA = self.lb_bE_lbA[self.b_bE_bA_filter]
self.ub_bE_ubA = self.ub_bE_ubA[self.b_bE_bA_filter]
self.A = self.A[:, self.weight_filter][self.bE_bA_filter, :]
Expand Down

0 comments on commit 42d6c21

Please sign in to comment.