Skip to content

Commit

Permalink
🩹 fix(_keys_to_parity): Make it work in CommonJS builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Mar 9, 2024
1 parent aaafac2 commit 4c72b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/convert/_keys_to_parity.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function _keys_to_parity(clauses) {
new_clause.add(literal);
}

instance.push([...new_clause]);
instance.push(Array.from(new_clause));
}

return new KeysInstance(variables, instance);
Expand Down

0 comments on commit 4c72b72

Please sign in to comment.