8080@doc doc"""
8181Holds information on what variables to alias
8282when solving a LinearProblem. Conforms to the AbstractAliasSpecifier interface.
83- `LinearAliasSpecifier(;alias_p = nothing, alias_f = nothing, alias_A = nothing, alias_b = nothing, alias = nothing)`
83+ `LinearAliasSpecifier(; alias_A = nothing, alias_b = nothing, alias = nothing)`
8484
8585When a keyword argument is `nothing`, the default behaviour of the solver is used.
8686
8787### Keywords
8888
89- * `alias_p::Union{Bool, Nothing}`
90- * `alias_f::Union{Bool, Nothing}`
9189* `alias_A::Union{Bool, Nothing}`: alias the `A` array.
9290* `alias_b::Union{Bool, Nothing}`: alias the `b` array.
9391* `alias::Union{Bool, Nothing}`: sets all fields of the `LinearAliasSpecifier` to `alias`.
@@ -99,14 +97,13 @@ struct LinearAliasSpecifier <: AbstractAliasSpecifier
9997 alias_A:: Union{Bool,Nothing}
10098 alias_b:: Union{Bool,Nothing}
10199
102- function LinearAliasSpecifier (; alias_A = nothing , alias_b = nothing ,
103- alias_p = nothing , alias_f = nothing , alias = nothing )
100+ function LinearAliasSpecifier (; alias_A = nothing , alias_b = nothing , alias = nothing )
104101 if alias == true
105- new (true , true , true , true )
102+ new (true , true )
106103 elseif alias == false
107- new (false , false , false , false )
104+ new (false , false )
108105 elseif isnothing (alias)
109- new (alias_p, alias_f, alias_A, alias_b)
106+ new (alias_A, alias_b)
110107 end
111108 end
112109end
0 commit comments