Skip to content

Commit 16b76e9

Browse files
committed
__issquare
1 parent 4b8a773 commit 16b76e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/common.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function OperatorAssumptions(issquare = nothing)
33
issq = something(_unwrap_val(issquare), Nothing)
44
OperatorAssumptions{issq}()
55
end
6-
SciMLOperators.issquare(::OperatorAssumptions{issq}) where {issq} = issq
6+
__issquare(::OperatorAssumptions{issq}) where {issq} = issq
77

88
struct LinearCache{TA, Tb, Tu, Tp, Talg, Tc, Tl, Tr, Ttol, issq}
99
A::TA
@@ -94,7 +94,7 @@ function SciMLBase.init(prob::LinearProblem, alg::Union{SciMLLinearSolveAlgorith
9494
verbose::Bool = false,
9595
Pl = IdentityOperator{size(prob.A, 1)}(),
9696
Pr = IdentityOperator{size(prob.A, 2)}(),
97-
assumptions = OperatorAssumptions(issquare(prob.A)),
97+
assumptions = OperatorAssumptions(Val(issquare(prob.A))),
9898
kwargs...)
9999
@unpack A, b, u0, p = prob
100100

@@ -129,7 +129,7 @@ function SciMLBase.init(prob::LinearProblem, alg::Union{SciMLLinearSolveAlgorith
129129
typeof(Pl),
130130
typeof(Pr),
131131
typeof(reltol),
132-
issquare(assumptions)
132+
__issquare(assumptions)
133133
}(A,
134134
b,
135135
u0,

0 commit comments

Comments
 (0)