Skip to content

Conversation

@ptiede
Copy link
Contributor

@ptiede ptiede commented Jan 26, 2026

Thanks for the great package. I use it for a bunch of research. Right now, I am working to adapt my code to use Reactant so I can take advantage of various accelerators. One of Reactant's quirks is that it requires pretty generous type annotations. The base structures are TracedRNumbers <: Number and TracedRArray <: AbstractArray. If I want to use TransformVariables with Reactant. I sadly need to widen some of the type annotations.

This is a draft PR that uses one method to make it compatible with Reactant, but I am very open to suggestions!

There are still some issues with this PR, including the scalar indexing, which will require some additional thought.

@ptiede ptiede marked this pull request as draft January 26, 2026 23:36
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