Skip to content

Fix incomplete valid mtype list in check_coefs.cc error message#207

Merged
The9Cat merged 2 commits intoSphericalExactfrom
copilot/sub-pr-199-again
Feb 25, 2026
Merged

Fix incomplete valid mtype list in check_coefs.cc error message#207
The9Cat merged 2 commits intoSphericalExactfrom
copilot/sub-pr-199-again

Conversation

Copy link

Copilot AI commented Feb 25, 2026

The error message in check_coefs.cc for unrecognized mtype values listed only Exponential, Gaussian, Plummer, omitting ExpSphere and Power — both of which were already handled in the same block. This made the error misleading for users passing valid types that weren't listed.

Changes

  • utils/ICs/check_coefs.cc: Updated the fallthrough error message to match check_coefs2.cc:
    "Exponential, ExpSphere, Gaussian, Plummer, Power"
    

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: The9Cat <25960766+The9Cat@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback from review on spherical basis deprojection PR Fix incomplete valid mtype list in check_coefs.cc error message Feb 25, 2026
@The9Cat The9Cat marked this pull request as ready for review February 25, 2026 19:16
@The9Cat The9Cat merged commit 2ad2fcc into SphericalExact Feb 25, 2026
@The9Cat The9Cat deleted the copilot/sub-pr-199-again branch February 25, 2026 19:16
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.

2 participants