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

Test fails on 32-bit Windows 7 #15

Closed
gyk opened this issue Oct 8, 2014 · 1 comment
Closed

Test fails on 32-bit Windows 7 #15

gyk opened this issue Oct 8, 2014 · 1 comment

Comments

@gyk
Copy link

gyk commented Oct 8, 2014

Running test in Julia v0.3:

julia> Pkg.test("FixedPointNumbers")
INFO: Testing FixedPointNumbers
ERROR: test failed: one(T) == 1
while loading \.julia\v0.3\FixedPointNumbers\test\ufixed.jl, in expression starting on line 20
while loading \.julia\v0.3\FixedPointNumbers\test\runtests.jl, in expression starting on line 2
...
ERROR: FixedPointNumbers had test errors

julia> one(Ufixed8)
Ufixed8(1.0)

julia> ans == 1
false

However, the following code works as expected:

julia> f() = Ufixed8(1.0) == 1
f (generic function with 2 methods)

julia> f()
true

julia> apply(==, promote(one(Ufixed8), 1))
true
@vchuravy
Copy link
Collaborator

this should be fixed 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

2 participants