Skip to content

Commit

Permalink
remove unused incorrect method (#680)
Browse files Browse the repository at this point in the history
* rm unused incorrect method

* format
  • Loading branch information
ericphanson authored May 20, 2024
1 parent 934913d commit 627525f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/ComplexTape.jl
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,3 @@ function MOI_add_constraint(
im_inds = MOI_add_constraint(model, to_vaf(imag(f)), set)
return (re_inds, im_inds)
end

function MOI_add_constraint(model, f::ComplexTape, set::MOI.NormOneCone)
re_inds = MOI_add_constraint(model, to_vaf(real(f)), set)
im_inds = MOI_add_constraint(model, to_vaf(imag(f)), set)
return (re_inds, im_inds)
end

0 comments on commit 627525f

Please sign in to comment.