Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cpc/cpc_sketch.go
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ func (c *CpcSketch) updateWindowed(rowCol int) error {
}

isNovel := false //novel if new coupon
err := error(nil)
var err error
col := rowCol & 63

if col < c.windowOffset { // track the surprising 0's "before" the window
Expand Down
1 change: 0 additions & 1 deletion cpc/pair_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ func (p *pairTable) copy() (*pairTable, error) {
// copy the number of pairs.
newPT.numPairs = p.numPairs
// Deep copy the slots array.
newPT.slotsArr = make([]int, len(p.slotsArr))
copy(newPT.slotsArr, p.slotsArr)
return newPT, nil
}
Expand Down
Loading