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

Incorrect output with foldxt #560

Open
fcdimitr opened this issue Aug 8, 2023 · 0 comments
Open

Incorrect output with foldxt #560

fcdimitr opened this issue Aug 8, 2023 · 0 comments

Comments

@fcdimitr
Copy link

fcdimitr commented Aug 8, 2023

julia> X = rand(4,100);

julia> foldl( TeeRF(min,max), eachcol(X) |> Broadcasting() )
4-element Vector{Tuple{Float64, Float64}}:
 (0.0007001389824357052, 0.9999324401155407)
 (0.019100256571215724, 0.999173988779715)
 (0.0007306661336644593, 0.9955462670775527)
 (0.0016049864224007004, 0.9960220490944728)

julia> foldxt( TeeRF(min,max), eachcol(X) |> Broadcasting() )
2-element Vector{Tuple{Float64, Float64}}:
 (0.0007001389824357052, 0.9999324401155407)
 (0.019100256571215724, 0.999173988779715)

I am running Julia v1.9.2.

Am I misunderstanding something in the usage of foldxt?

Thank you!

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