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

arithmetic_closure test failing on julia 1.6.1 #924

Closed
bcgv opened this issue Jun 15, 2021 · 2 comments
Closed

arithmetic_closure test failing on julia 1.6.1 #924

bcgv opened this issue Jun 15, 2021 · 2 comments

Comments

@bcgv
Copy link

bcgv commented Jun 15, 2021

On julia 1.6.1 this test is failing (3 times):

arithmetic_closure: Test Failed at D:\xxx\.julia\dev\StaticArrays\test\arraymath.jl:91
  Expression: #= D:\xxx\.julia\dev\StaticArrays\test\arraymath.jl:91 =# @allocated(arithmetic_closure(T0)) == 0
   Evaluated: 128 == 0

It is failing at the occurence 10, 14, 15 which means for types Int64, Float32 and Float64.
However this does not match what I see in the REPL:

julia> @allocated(StaticArrays.arithmetic_closure(Float32))
0

So maybe something is wrong in the test itself ?

@mateuszbaran
Copy link
Collaborator

@allocated isn't particularly precise so it's very likely a false error.

@thchr
Copy link
Collaborator

thchr commented Jul 2, 2021

This was fixed by #928 and can be closed now.

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

3 participants