f
This commit is contained in:
parent
871740a95e
commit
3b67e809c5
1 changed files with 1 additions and 1 deletions
|
@ -410,7 +410,7 @@ proc decodeSOS(state: var DecoderState) =
|
|||
if state.scanComponents > state.components.len:
|
||||
failInvalid("extra components")
|
||||
|
||||
if state.scanComponents notin [1, 3]:
|
||||
if state.scanComponents notin {1, 3}:
|
||||
failInvalid("unsupported scan component count")
|
||||
|
||||
state.componentOrder.setLen(0)
|
||||
|
|
Loading…
Reference in a new issue