Skip to content

Fix C++17 inline constexpr to support C++11#6957

Merged
mohanchen merged 2 commits intodeepmodeling:developfrom
dzzz2001:fix-6956-cpp17-inline-constexpr
Feb 8, 2026
Merged

Fix C++17 inline constexpr to support C++11#6957
mohanchen merged 2 commits intodeepmodeling:developfrom
dzzz2001:fix-6956-cpp17-inline-constexpr

Conversation

@dzzz2001
Copy link
Collaborator

@dzzz2001 dzzz2001 commented Feb 8, 2026

Summary

  • Replace inline constexpr with static constexpr in ylmcoef.h to eliminate C++17 dependency
  • The project only supports up to C++11, and inline variables are a C++17 feature

Closes #6956

🤖 Generated with Claude Code

dzzz2001 and others added 2 commits February 8, 2026 11:57
Replace `inline constexpr` with `static constexpr` in ylmcoef.h
to eliminate C++17 dependency, as the project only supports up to C++11.

Closes deepmodeling#6956

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@mohanchen mohanchen merged commit eea0f93 into deepmodeling:develop Feb 8, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C++17 code found in ylm.cpp, need to eliminate it, we only support up to C++11

2 participants