We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac4a22c commit 4bbc512Copy full SHA for 4bbc512
bob.go
@@ -61,6 +61,9 @@ func (a *Aip) FromTape(tape bpu.Tape) {
61
// Loop over remaining indices if they exist and append to indices slice
62
a.Indices = make([]int, len(tape.Cell)-finalIndexCount)
63
for x := finalIndexCount - 1; x < len(tape.Cell); x++ {
64
+ if tape.Cell[x].S == nil {
65
+ continue
66
+ }
67
if index, err := strconv.Atoi(*tape.Cell[x].S); err == nil {
68
a.Indices = append(a.Indices, index)
69
}
0 commit comments