We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
CC #65
The following code currently fails because AstroPeriod is constructed implicitly using Float64
AstroPeriod
Float64
julia> typemax(Int64)*seconds ERROR: InexactError: trunc(Int64, 9.223372036854776e18) Stacktrace: [1] trunc @ ./float.jl:716 [inlined] [2] floor @ ./float.jl:294 [inlined] [3] AstroPeriod @ ~/dev/julia/AstroTime/src/Periods.jl:97 [inlined] [4] *(dt::Int64, unit::AstroTime.Periods.Second) @ AstroTime.Periods ~/dev/julia/AstroTime/src/Periods.jl:152 [5] top-level scope @ REPL[27]:1
I'm sure there's probably a simple fix using oftype, I don't have time at the moment to dig into it though.
oftype
The text was updated successfully, but these errors were encountered:
No branches or pull requests
CC #65
The following code currently fails because
AstroPeriod
is constructed implicitly usingFloat64
I'm sure there's probably a simple fix using
oftype
, I don't have time at the moment to dig into it though.The text was updated successfully, but these errors were encountered: