Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using broadcast instead of .* #202

Open
jpfairbanks opened this issue Feb 16, 2024 · 0 comments
Open

Using broadcast instead of .* #202

jpfairbanks opened this issue Feb 16, 2024 · 0 comments

Comments

@jpfairbanks
Copy link
Member

In the compiler, we are replacing binary operators with a dot prefixed version, but we could instead just use broadcast(op, arg1, arg2) instead of arg1 .op arg2. This will probably simplify some of the compiler code

https://github.com/AlgebraicJulia/Decapodes.jl/blob/eb7177568a762ba8d8b0afb6aa90d5ee170d3289/src/simulation.jl#L255C1-L256C94

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

No branches or pull requests

1 participant