You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It used to be restricted to Number initially, but this was changed in #219.
I see that it was first changed from Number to Real in b08b6f9, adding a TODO to check if it should be Number. The TODO was then finally removed in a0a6a84.
Is there any reason why T was restricted to Real?
The reason I'm asking is because I am playing around with Unitful and the current implementation does not allow for T in Mesh to be a Unitful.Quantity <: Number, for example.
The text was updated successfully, but these errors were encountered:
Right now, the parametric type
T
ofGeometryBasics.Mesh
is restricted toReal
:GeometryBasics.jl/src/basic_types.jl
Lines 503 to 505 in caa6c89
It used to be restricted to
Number
initially, but this was changed in #219.I see that it was first changed from
Number
toReal
in b08b6f9, adding aTODO
to check if it should beNumber
. TheTODO
was then finally removed in a0a6a84.Is there any reason why
T
was restricted toReal
?The reason I'm asking is because I am playing around with
Unitful
and the current implementation does not allow forT
inMesh
to be aUnitful.Quantity <: Number
, for example.The text was updated successfully, but these errors were encountered: