Skip to content

Commit

Permalink
use inner product directly
Browse files Browse the repository at this point in the history
  • Loading branch information
araujoms committed Oct 22, 2024
1 parent 3f18c62 commit dbcb775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/incompatibility.jl
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function incompatibility_robustness_depolarizing(
JuMP.add_to_expression!(obj, 1)
for x in 1:m
for a in 1:o[x]
JuMP.add_to_expression!(obj, LA.tr(X[x][a] * A[x][a]))
JuMP.add_to_expression!(obj, LA.dot(X[x][a], A[x][a]))
JuMP.add_to_expression!(low, (LA.tr(A[x][a]) / d) * LA.tr(X[x][a]))
end
end
Expand Down

0 comments on commit dbcb775

Please sign in to comment.