Skip to content

Commit e532511

Browse files
authored
Fix logic to skip columns (#4)
As written, this is a multi-comparison, rather than an integer addition of booleans.
1 parent 8220adc commit e532511

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/debug.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function Base.getindex(bgpm::SystemStructurePrintMatrix, i::Integer, j::Integer)
4242
checkbounds(bgpm, i, j)
4343
if bgpm.ssa_uses === nothing
4444
# Skip SSAUse-related columns.
45-
j += j 5 + j 11
45+
j += (j 5) + (j 11)
4646
end
4747
if i <= 1
4848
return (Label.(("# eq", "∂ₜ", " ", " ", "%", "", "# v", "∂ₜ", " ", " ", "%")))[j]

0 commit comments

Comments
 (0)