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

@d ignores strict if assigning in-place #888

Open
tiemvanderdeure opened this issue Dec 18, 2024 · 0 comments
Open

@d ignores strict if assigning in-place #888

tiemvanderdeure opened this issue Dec 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@tiemvanderdeure
Copy link
Collaborator

I was looking at the broadcasting machinery in DD to implement strict for broadcast_dims, and stumbled across this:

using DimensionalData
dv1 = rand(X(1:3))
dv2 = rand(X(2:4))
@d dv1 .* dv2 strict=false # works
@d dv1 .= dv1 .* dv2 strict=false # errors

I think materialize! totally ignores the keywords/broadcast options here.

@tiemvanderdeure tiemvanderdeure changed the title @d ignores strict if assigning to a @d ignores strict if assigning in-place Dec 18, 2024
@rafaqz rafaqz added the bug Something isn't working label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants