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 thunked unthunk before broadcasting #97

Merged
merged 3 commits into from
Jan 14, 2020
Merged

Make thunked unthunk before broadcasting #97

merged 3 commits into from
Jan 14, 2020

Conversation

oxinabox
Copy link
Member

Previously it externed.
I didn't know it did that either, so was surprised tests passed.

This is part of #94


@testset "Broadcast" begin
@testset "Array" begin
was_unthunked = 0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line's not needed?

Suggested change
was_unthunked = 0

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel weird about using variables in closures before they are declared.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😆

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you think it is better to remove it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but the dont really mind too much either way

end

@testset "Scalar" begin
was_unthunked=0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
was_unthunked=0

Co-Authored-By: Nick Robinson <[email protected]>
@oxinabox oxinabox merged commit 4028afc into master Jan 14, 2020
@oxinabox oxinabox deleted the ox/thunkbroad branch January 11, 2021 13:46
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

Successfully merging this pull request may close these issues.

2 participants