Skip to content

Commit 5256992

Browse files
committed
move comment after line
1 parent 08448cb commit 5256992

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/QuantumCliffordJuMPExt/min_distance_mixed_integer_programming.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ function _minimum_distance(hx, lx)
234234
cnt += 1
235235
end
236236
@constraint(model, sum(weight[i] * x[i] for i in 1:num_var) == 1)
237-
# Ensure the model is solved and feasible
238237
optimize!(model)
238+
# Ensure the model is solved and feasible
239239
is_solved_and_feasible(model) || error("Did not solve model")
240240
opt_val = sum(value(x[i]) for i in 1:n)
241241
return Int(opt_val)

0 commit comments

Comments
 (0)