diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-02 15:23:43 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-02 15:23:43 +0800 |
| commit | 3512aed92fce7e1f750327090cfc6909379ed2e6 (patch) | |
| tree | 35f79db495a1766bacac5c3058446d381e158941 /proofsearch/include/atp/core | |
| parent | cc440e2674697afc967e081cf91e03f149333502 (diff) | |
| download | rcc-project-3512aed92fce7e1f750327090cfc6909379ed2e6.tar.gz rcc-project-3512aed92fce7e1f750327090cfc6909379ed2e6.tar.xz | |
refactor: replace string-based formula representation with interned SymbolIds and introduce stateful Clausifier for TPTP parsing
Diffstat (limited to 'proofsearch/include/atp/core')
| -rw-r--r-- | proofsearch/include/atp/core/literal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proofsearch/include/atp/core/literal.h b/proofsearch/include/atp/core/literal.h index 1b4f65c..a3192a9 100644 --- a/proofsearch/include/atp/core/literal.h +++ b/proofsearch/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; }; |
