Skip to content

Commit

Permalink
Fix last MR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Swopper050 committed Nov 24, 2023
1 parent 0a39115 commit 0a2bae9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ops/opset13/conv.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ func (c *Conv) setPaddingWithAutoPad(x tensor.Tensor) {

var padHead int
if c.autoPad == SameLower {
// nolint
// nolint, as the division by two is literally division by two
padHead = (padNeeded + 1) / 2

Check failure on line 242 in ops/opset13/conv.go

View workflow job for this annotation

GitHub Actions / lint

mnd: Magic number: 2, in <operation> detected (gomnd)
} else {
//nolint
// nolint, as the division by two is literally division by two
padHead = padNeeded / 2

Check failure on line 245 in ops/opset13/conv.go

View workflow job for this annotation

GitHub Actions / lint

mnd: Magic number: 2, in <operation> detected (gomnd)
}

Expand Down

0 comments on commit 0a2bae9

Please sign in to comment.