Skip to content

Commit 9919445

Browse files
committed
Add comment
1 parent 1c98fbc commit 9919445

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rational.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ struct RationalPoly{NT <: APL, DT <: APL}
66
den::DT
77
end
88

9+
# This constructor is called from LinearAlgebra in the method Matrix{T}(s::UniformScaling{Bool}, dims)
910
RationalPoly{NT,DT}(x::Bool) where {NT,DT} = ifelse(x, one(RationalPoly{NT,DT}), zero(RationalPoly{NT,DT}))
1011

1112
Base.numerator(r::RationalPoly) = r.num

0 commit comments

Comments
 (0)