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

Two failing tests #83

Open
nico202 opened this issue Apr 25, 2021 · 1 comment
Open

Two failing tests #83

nico202 opened this issue Apr 25, 2021 · 1 comment

Comments

@nico202
Copy link

nico202 commented Apr 25, 2021

Hi, two tests are failing for me:

Expression: isequal(mapreduce(f, +, X), DataValue(mapreduce(f, +, X.values)))
Evaluated: isequal(DataValue{Float64}(5130.89), DataValue{Float64}(5130.89))

Expression: method(f, X) == DataValue(method(f, A))
Evaluated: DataValue{Float64}(5130.89) == DataValue{Float64}(5130.89)

Maybe a float rounding error? No idea
Edit: Indeed it is:

DataValue(mapreduce(f, +, X.values)).value
5130.890169906765

mapreduce(f, +, X).value
5130.890169906763
@Millak
Copy link

Millak commented May 16, 2021

I came across the same failed tests, building from 0.4.13 or from HEAD (d568d25), using julia-1.5.3

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