Skip to content

Commit aeff669

Browse files
Bambadejcarpent
authored andcommitted
remove comment typo
1 parent 6244f87 commit aeff669

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/proxsuite/proxqp/dense/utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ global_dual_residual(const Results<T>& qpresults,
373373
duality_gap = (qpmodel.g).dot(qpresults.x);
374374
rhs_duality_gap = std::abs(duality_gap);
375375
T xHx = (qpwork.CTz).dot(qpresults.x) ;
376-
duality_gap += xHx;// contains now 0.5*xHx+g.Tx
376+
duality_gap += xHx;// contains now xHx+g.Tx
377377
rhs_duality_gap = std::max(rhs_duality_gap,std::abs(xHx));
378378

379379
ruiz.scale_primal_in_place(VectorViewMut<T>{ from_eigen, qpresults.x });

0 commit comments

Comments
 (0)