Skip to content

mbpt: spell OpClass enumerators in CamelCase - #587

Merged
evaleev merged 1 commit into
masterfrom
ajay/fix/opclass-case
Aug 6, 2026
Merged

mbpt: spell OpClass enumerators in CamelCase#587
evaleev merged 1 commit into
masterfrom
ajay/fix/opclass-case

Conversation

@ajay-mk

@ajay-mk ajay-mk commented Aug 6, 2026

Copy link
Copy Markdown
Member

Just following the convention in other places for consistency.

@ajay-mk ajay-mk added this to the 2.3 milestone Aug 6, 2026
@ajay-mk ajay-mk added the refactor Code changes without any behavior change label Aug 6, 2026
@ajay-mk
ajay-mk requested a review from evaleev August 6, 2026 16:29
Rename ex/deex/gen to Ex/Deex/Gen, matching the CamelCase convention
used by the other non-QNS enums (CSV, Convention, SpinConvention,
Normalization, BiorthogonalizationMethod, ...).

The quantum-number bitmask enums in space_qns.hpp -- Spin, LCAOQNS,
TensorFactorizationQNS, BatchingQNS -- deliberately keep their
lower-case enumerators, since those spell physics notation
(Spin::alpha, TensorFactorizationQNS::df, ...).

Enumerator order is unchanged, so the underlying values are stable.
This does break downstream code that names the enumerators; no
deprecated aliases are provided.
@ajay-mk

ajay-mk commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

CI failure is due to an ongoing Github Actions issue

@evaleev
evaleev force-pushed the ajay/fix/opclass-case branch from f188451 to 764052a Compare August 6, 2026 17:33
@evaleev
evaleev merged commit cc70c6f into master Aug 6, 2026
6 of 16 checks passed
@evaleev
evaleev deleted the ajay/fix/opclass-case branch August 6, 2026 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Code changes without any behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants