Skip to content

fix stack overflow when passing empty struct#2670

Open
hardikxk wants to merge 2 commits into
FluxML:masterfrom
hardikxk:fix/2571
Open

fix stack overflow when passing empty struct#2670
hardikxk wants to merge 2 commits into
FluxML:masterfrom
hardikxk:fix/2571

Conversation

@hardikxk
Copy link
Copy Markdown
Contributor

@hardikxk hardikxk commented Apr 2, 2026

Explicitly set Functors.isleaf to false for any struct that uses @layer
added tests for all methods that were failing before

closes #2571

PR Checklist

  • Tests are added
  • Entry in NEWS.md
  • Documentation, if applicable

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.

infinite recursion when applying f32 on empty layer

1 participant