Skip to content

Commit

Permalink
graph/path/dynamic: remove unnecessary nolint comment
Browse files Browse the repository at this point in the history
The golangci-lint staticcheck version has been updated and now correctly runs the
SA4000 lint check on arrays of float.
  • Loading branch information
kortschak committed Jul 6, 2020
1 parent 306b992 commit 4275248
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion graph/path/dynamic/dstarlite.go
Expand Up @@ -422,7 +422,6 @@ type key [2]float64
// badKey is a poisoned key. Testing for a bad key uses NaN inequality.
var badKey = key{math.NaN(), math.NaN()}

//nolint:staticcheck
func (k key) isBadKey() bool { return k != k }

// less returns whether k is less than other. From ISBN:0-262-51129-0 pp476-483:
Expand Down

0 comments on commit 4275248

Please sign in to comment.