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

foldxt type unstable? #569

Open
atbug opened this issue Jan 13, 2024 · 0 comments
Open

foldxt type unstable? #569

atbug opened this issue Jan 13, 2024 · 0 comments

Comments

@atbug
Copy link

atbug commented Jan 13, 2024

const grid = [[i, j] for i in -4:4, j in -4:4]

foldxt(+, Map(i -> grid[i]), 1:length(grid))

seems to be type unstable, while foldl works well.

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