-
Notifications
You must be signed in to change notification settings - Fork 32
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
Revise type parameters of LinearMap #451
Comments
While we are at it, should we add another type parameter for the set type, as we do for the other lazy operations? |
yes, i agree. while we are at it, we can also add the parametric type of the linear map. |
We could also change the second type argument from the matrix numeric type EDIT: We can also use |
i think we should keep |
Good point. Then, would it be |
i would typically write out the full one: julia> abstract type LazySet{N} end
julia> struct LinearMap{N<:Real, MN, MAT<:AbstractMatrix{MN}, S<:LazySet{N}} <: LazySet{N}
end
julia> struct LinearMap2{N<:Real, MAT<:AbstractMatrix{MN}, S<:LazySet{N}} <: LazySet{N}
end
ERROR: UndefVarError: MN not defined |
#451 - Revise type parameters of LinearMap
Proposal:
Reason: All other set types have the numeric type as their first argument. With this change we can do this:
(We might actually do this already.)
The text was updated successfully, but these errors were encountered: