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

Make with_kw-structs scalar for broadcast? #70

Open
mauro3 opened this issue Aug 9, 2018 · 1 comment
Open

Make with_kw-structs scalar for broadcast? #70

mauro3 opened this issue Aug 9, 2018 · 1 comment
Labels

Comments

@mauro3
Copy link
Owner

mauro3 commented Aug 9, 2018

Like so:

Broadcast.broadcastable(p::Para) = Ref(p)
@mauro3
Copy link
Owner Author

mauro3 commented Jan 28, 2019

NamedTuples and Dicts will probably not behave as scalars (JuliaLang/julia#30836). The question is whether we want the Parameter-structs to behave like NamedTuples and Dicts, as @unpack does, or not. Leaving this open to ponder for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant