Repository navigation
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N
|
Hi 👋 and thank you for your contribution! 🙏 This pull request is being closed automatically - but don't worry, we may re-open it if you carefully follow these instructions. Join the astropy slack using this invite link, head over to the #new-contributor-requests channel, and introduce yourself with a post that includes:
We strongly encourage contributions from people that use astropy or actively develop related scientific Python packages. We look forward to hearing from you and growing the Astropy community! Notes for maintainersIf you know this is a genuine user and the PR is is compliance with the AI policy, you may re-open this straight away. After two successful merged pull requests, the user will be added to the allowlist and future PRs will no longer be closed automatically. This user has made other pull requests to this repository prior to this one, here is a full list:
In addition, here are some statistics on the user's activity on GitHub:
|
|
Thank you for your contribution to Astropy! 🌌 This checklist is meant to remind the package maintainers who will review this pull request of some common things to look for.
|
Adding axes or using boolean indexing on a scalar Distribution returns a structured ndarray and loses distribution arithmetic. Distribution(np.arange(12.).reshape(3, 4))[1][None] has no pdf_mean method. The patch restores the Distribution view when indexing returns an array with the scalar distribution dtype. The regression test checks shapes, samples, arithmetic, PDF means, memory sharing, and scalar indexing. OpenAI Codex (GPT-6) generated the patch and tests.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N