Skip to content

fix(#8271): Handle non-sequential node labels in densest_subgraph FISTA - #8328

Closed
Duly330AI wants to merge 1 commit into
networkx:mainfrom
Duly330AI:fix/8271-densest-subgraph
Closed

Duly330AI wants to merge 1 commit into
networkx:mainfrom
Duly330AI:fix/8271-densest-subgraph

Conversation

@Duly330AI

Copy link
Copy Markdown
  • Fix _fractional_peeling to correctly map nodes to array indices
  • Add regression tests for missing, offset, and string node labels
  • All 26 density tests pass
  • Pass ruff linter checks

If you are using a LLM or any other AI model (ChatGPT, llama, mistral, claude ...),
please read and follow the guidelines in the
Contributor Guide
before submitting your PR.

Remove these comments from the description before opening the Pull Request.

- Fix _fractional_peeling to correctly map nodes to array indices
- Add regression tests for missing, offset, and string node labels
- All 26 density tests pass
- Pass ruff linter checks

@rossbar rossbar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the AI-generated cruft before the review can proceed.

@MridulS

MridulS commented Oct 26, 2025

Copy link
Copy Markdown
Member

this was fixed in #8332

@MridulS MridulS closed this Oct 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants