Skip to content

Commit

Permalink
Fixes for lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DavePearce committed Jun 20, 2024
1 parent 29d8ac4 commit 7272caa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions pkg/air/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
// out-of-bounds.
func (e *ColumnAccess) EvalAt(k int, tbl table.Trace) *fr.Element {
val := tbl.ColumnByIndex(e.Column).Get(k + e.Shift)

var clone fr.Element
// Clone original value
return clone.Set(val)
Expand Down
4 changes: 2 additions & 2 deletions pkg/hir/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,9 @@ func (p *Schema) ColumnGroup(i uint) table.ColumnGroup {
n := uint(len(p.dataColumns))
if i < n {
return p.dataColumns[i]
} else {
return p.permutations[i-n]
}

return p.permutations[i-n]
}

// ColumnIndex determines the column index for a given column in this schema, or
Expand Down

0 comments on commit 7272caa

Please sign in to comment.