Skip to content

Fix FastBroadcast extension for v1.0 API#552

Merged
ChrisRackauckas merged 1 commit intoSciML:masterfrom
ChrisRackauckas-Claude:fix-fastbroadcast-v1
Mar 31, 2026
Merged

Fix FastBroadcast extension for v1.0 API#552
ChrisRackauckas merged 1 commit intoSciML:masterfrom
ChrisRackauckas-Claude:fix-fastbroadcast-v1

Conversation

@ChrisRackauckas-Claude
Copy link
Copy Markdown
Contributor

Summary

  • Update RecursiveArrayToolsFastBroadcastExt to use FastBroadcast v1.0's 2-arg fast_materialize!(dst, bc) signature instead of the old 4-arg fast_materialize!(::Static.False, ::DB, dst, bc)
  • Bump FastBroadcast compat from "0.3.5, 1" to "1" since the extension code is incompatible with 0.3.x

Problem

FastBroadcast v1.0 removed the Static module re-export and changed the fast_materialize! API. The current extension references FastBroadcast.Static.False which doesn't exist in v1.0+, causing a precompilation error:

UndefVarError: `Static` not defined in `FastBroadcast`

Despite the compat claiming "0.3.5, 1", the extension was broken on v1.0.

🤖 Generated with Claude Code

@ChrisRackauckas-Claude ChrisRackauckas-Claude force-pushed the fix-fastbroadcast-v1 branch 2 times, most recently from be455ae to 5c5a22d Compare March 31, 2026 11:01
Update RecursiveArrayToolsFastBroadcastExt to use FastBroadcast v1.0's
2-arg fast_materialize!(dst, bc) signature instead of the old 4-arg
fast_materialize!(::Static.False, ::DB, dst, bc). The 2-arg method is
the base dispatch point that Serial() delegates to, so this covers all
non-threaded paths. Require FastBroadcast >= 1.1.

Co-Authored-By: Chris Rackauckas <accounts@chrisrackauckas.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ChrisRackauckas ChrisRackauckas merged commit bdde1a3 into SciML:master Mar 31, 2026
24 of 28 checks passed
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