Skip to content

Fix gplotsel2d memory#33

Closed
sanchalitorpe13 wants to merge 5 commits into
INCF:masterfrom
sanchalitorpe13:fix-gplotsel2d-memory
Closed

Fix gplotsel2d memory#33
sanchalitorpe13 wants to merge 5 commits into
INCF:masterfrom
sanchalitorpe13:fix-gplotsel2d-memory

Conversation

@sanchalitorpe13

Copy link
Copy Markdown

This PR fixes issue #9 (MemoryError in gplotsel2d).

By default, gplotsel2d uses all neurons (elementary.N) for source and target. For large networks, this creates huge arrays and crashes with MemoryError.

This patch limits the default source/target to first 100 neurons. Users can still provide custom ranges for larger plots.

@sanchalitorpe13 sanchalitorpe13 closed this by deleting the head repository Jul 16, 2026
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.

1 participant