Commit 316e21d
committed
ct: Fix pipeline_stage assertion
Previously the assertion was checking that the new stage id is less than
max stage id. But this is incorrect because not all possible stages are
allocated. The commit changes this so the assertion is only checking if
the next stage id is allocated.
Signed-off-by: Evgeny Lazin <4lazin@gmail.com>1 parent 0062276 commit 316e21d
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments