We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2706339 commit 216fa86Copy full SHA for 216fa86
src/qpmodel.jl
@@ -13,7 +13,7 @@ mutable struct QPData{
13
A::M2
14
end
15
16
-QPData(c0, c, H, A; lp::Bool=false) = QPData(c0, c, lp ? similar(c): similar(c, 0), H, A)
+QPData(c0, c, H, A; lp::Bool=false) = QPData(c0, c, lp ? similar(c, 0) : similar(c), H, A)
17
isdense(data::QPData{T, S, M1, M2}) where {T, S, M1, M2} = M1 <: DenseMatrix || M2 <: DenseMatrix
18
19
function Base.convert(
0 commit comments