Skip to content

Commit 438881b

Browse files
committed
Fix typos in comments
1 parent c010b53 commit 438881b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

test/utils.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,12 @@ function qp_test(
324324
@test A * dzf -∇νf atol = ATOL rtol = RTOL
325325
end
326326

327-
# As a kind of integration test, we check that the scalar product is the same whether it is don at the level of
327+
# As a kind of integration test, we check that the scalar product is the same whether it is done at the level of
328328
# 1) (dz, dλ, dν) (dλb and dνb are zero so we ignore their product (appropriate since we have not yet
329329
# implemented the getter for dνf))
330330
dprod = dzf dzb # ignored as it is zero : + dλf ⋅ dλb + dνf ⋅ dνb
331331
# 2) (∇z, ∇λ, ∇ν) which are the LHS of (6) and (7) (which are differentiation
332-
# of the gradient of the laplacian with respect to z, λ and ∇ν hence the variable names)
332+
# of the gradient of the Laplacian with respect to z, λ and ∇ν hence the variable names)
333333
if ∇λb !== nothing && !is_conic_qp
334334
∇prod = ∇zf ∇zb + ∇λf ∇λb + ∇νf ∇νb
335335
@test dprod ∇prod atol = ATOL rtol = RTOL
@@ -339,7 +339,7 @@ function qp_test(
339339
# and we would still have pprod = ∇prod = dprod
340340
pprod =
341341
dQf dQb + dqf dqb + dGf dGb + dhf dhb + dAf dAb + dbf dbb
342-
@test pprod pprod atol = ATOL rtol = RTOL
342+
@test pprod dprod atol = ATOL rtol = RTOL
343343
return
344344
end
345345

0 commit comments

Comments
 (0)