Skip to content

Commit

Permalink
initialize frustration
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumjim committed Feb 16, 2024
1 parent 90d79d8 commit 4443c6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qiskit_qec/circuits/intern/arctools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ std::vector<int> check_nodes(
}
}
// we get frustration if any of these is odd
bool frust = False;
bool frust = true;
for (auto & parity: parities){
frust = frust || (parity.second % 2 == 1);
}
Expand Down

0 comments on commit 4443c6c

Please sign in to comment.