File tree Expand file tree Collapse file tree 1 file changed +5
-9
lines changed
Expand file tree Collapse file tree 1 file changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -190,15 +190,7 @@ function Headers(s::AbstractString)
190190 return HEADER_QMATRIX
191191 end
192192 end
193- elseif N == 8
194- if (x == ' O' || x == ' o' ) && startswith (uppercase (s), " OBJSENSE" )
195- return HEADER_OBJSENSE
196- end
197- elseif N == 10
198- if (x == ' I' || x == ' i' ) && uppercase (s) == " INDICATORS"
199- return HEADER_INDICATORS
200- end
201- elseif N >= 12
193+ elseif N >= 8
202194 if (x == ' O' || x == ' o' ) && startswith (uppercase (s), " OBJSENSE" )
203195 return HEADER_OBJSENSE
204196 elseif (x == ' Q' || x == ' q' )
@@ -208,6 +200,10 @@ function Headers(s::AbstractString)
208200 elseif startswith (header, " QSECTION" )
209201 return HEADER_QSECTION
210202 end
203+ elseif N == 10
204+ if (x == ' I' || x == ' i' ) && uppercase (s) == " INDICATORS"
205+ return HEADER_INDICATORS
206+ end
211207 end
212208 end
213209 return HEADER_UNKNOWN
You can’t perform that action at this time.
0 commit comments