diff options
Diffstat (limited to 'include/atp/core/literal.h')
| -rw-r--r-- | include/atp/core/literal.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/atp/core/literal.h b/include/atp/core/literal.h index 212c281..e58b185 100644 --- a/include/atp/core/literal.h +++ b/include/atp/core/literal.h @@ -27,11 +27,11 @@ namespace atp { /// A literal: a polarity flag plus the TermId of the atom. struct Literal { - TermId atom; ///< TermId of the predicate application - bool is_positive; ///< true = positive, false = negated + TermId atom_; ///< TermId of the predicate application + bool is_positive_; ///< true = positive, false = negated /// Complement: flip polarity, same atom. - [[nodiscard]] Literal complement() const { return {.atom = atom, .is_positive = !is_positive}; } + [[nodiscard]] Literal complement() const { return {.atom_ = atom_, .is_positive_ = !is_positive_}; } bool operator==(const Literal& other) const = default; }; |
