Skip to content

Commit

Permalink
Merge branch 'main' into Fix_code_style
Browse files Browse the repository at this point in the history
  • Loading branch information
TolisChal committed Oct 25, 2024
2 parents 06d64a9 + 50a6099 commit b7abcbe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
# least one codeowner. However, all Qiskit team members can (and should!) review the PRs.

# Global rule, unless specialized by a later one
* @stefan-woerner @woodsp-ibm @t-imamichi @dthuerck @Sofranac-Boro
* @stefan-woerner @woodsp-ibm @t-imamichi @TolisChal @thkleinert @Dniskk

6 changes: 3 additions & 3 deletions qiskit_optimization/applications/max_cut.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This code is part of a Qiskit project.
#
# (C) Copyright IBM 2018, 2023.
# (C) Copyright IBM 2018, 2024.
#
# This code is licensed under the Apache License, Version 2.0. You may
# obtain a copy of this license in the LICENSE.txt file in the root directory
Expand Down Expand Up @@ -114,10 +114,10 @@ def parse_gset_format(filename: str) -> np.ndarray:
w = np.zeros((n, n))
header = False
else:
s__, t__, _ = v
s__, t__, w__ = v
s__ -= 1 # adjust 1-index
t__ -= 1 # ditto
w[s__, t__] = t__
w[s__, t__] = w__
count += 1
assert m == count
w += w.T
Expand Down

0 comments on commit b7abcbe

Please sign in to comment.