diff options
Diffstat (limited to 'include/atp/core')
| -rw-r--r-- | include/atp/core/literal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/atp/core/literal.h b/include/atp/core/literal.h index 1b4f65c..a3192a9 100644 --- a/include/atp/core/literal.h +++ b/include/atp/core/literal.h @@ -32,7 +32,7 @@ struct Literal { bool is_positive; ///< true = positive, false = negated /// Complement: flip polarity, same atom. - [[nodiscard]] Literal complement() const { return {atom, !is_positive}; } + [[nodiscard]] Literal complement() const { return {.atom = atom, .is_positive = !is_positive}; } bool operator==(const Literal& other) const = default; }; |
