JuliaMath / JuliaMath/FixedPointDecimals.jl

fix method ambiguities

Open
#95 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
Julia
Stars
37
Forks
23
PR merge metrics
No merged PRs in 30d

Description

```
julia> using FixedPointDecimals
julia> using Aqua
julia> Aqua.test_all(FixedPointDecimals)
13 ambiguities found. To get a list, set `broken = false`.
Ambiguity #1
(::Type{T})(x::FixedPointDecimals.FixedDecimal) where T<:Union{AbstractFloat, Integer, Rational} @ FixedPointDecimals ~/.julia/packages/FixedPointDecimals/SHo3T/src/FixedPointDecimals.jl:521
Bool(x::Real) @ Base float.jl:171

Possible fix, define
Bool(::FixedPointDecimals.FixedDecimal)
...
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.