Skip to content

Commit 7c06da3

Browse files
committed
Update
1 parent e329ac9 commit 7c06da3

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

src/FileFormats/LP/read.jl

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -637,10 +637,16 @@ function _parse_quadratic_expression(
637637
while (p = peek(state, _Token)) !== nothing
638638
if p.kind == _TOKEN_ADDITION
639639
p = read(state, _Token)
640-
push!(f.quadratic_terms, _parse_quadratic_term(state, cache, prefix))
640+
push!(
641+
f.quadratic_terms,
642+
_parse_quadratic_term(state, cache, prefix),
643+
)
641644
elseif p.kind == _TOKEN_SUBTRACTION
642645
p = read(state, _Token)
643-
push!(f.quadratic_terms, _parse_quadratic_term(state, cache, -prefix))
646+
push!(
647+
f.quadratic_terms,
648+
_parse_quadratic_term(state, cache, -prefix),
649+
)
644650
elseif p.kind == _TOKEN_NEWLINE
645651
_ = read(state, _Token)
646652
elseif p.kind == _TOKEN_CLOSE_BRACKET

src/Test/test_conic.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5026,7 +5026,7 @@ function version_added(
50265026
end
50275027

50285028
"""
5029-
Problem SDP1 - sdo1 from MOSEK docs
5029+
Problem SDP1 - sdo1 from Mosek docs
50305030
From Mosek.jl/test/mathprogtestextra.jl, under license:
50315031
50325032
Copyright (c) 2013 Ulf Worsoe, Mosek ApS

test/FileFormats/LP/models/model1_tricky.lp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ V6 free
2828
0 <= V7 < 1 \ stupidly allow < as <=
2929
0 <= V8 <= 1
3030
General
31-
Var4 V5 \ integer variables can be listed (MOSEK)
31+
Var4 V5 \ integer variables can be listed (Mosek)
3232
V6 \ or each new line
3333
Binary
3434
V8

0 commit comments

Comments
 (0)