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

import QuasiArrays breaks broadcasted assignment to array indexd by zero-dimensional array #97

Closed
akirakyle opened this issue Sep 12, 2023 · 1 comment

Comments

@akirakyle
Copy link

I came across this edgecase in debugging a package that broke simply by adding an import QuasiArrays

import QuasiArrays
A = ones(Int, 4)
A[ones(Int)] .+= 1

without the import this runs fine, with the import I get the error

MethodError: no method matching (QuasiArrays.QuasiIteratorsMD.QuasiCartesianIndices{0, Tuple{}, RR} where RR<:Tuple{})(::Tuple{})
@dlfivefifty
Copy link
Member

Thanks for reporting this!

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

2 participants