Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
fr3fou committed Sep 4, 2020
1 parent d45ab8b commit 4e96c62
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gone/activation.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func getActivationFromName(a activationName) Activation {
}
}

// Sigmoid is a sigmoid activation function
// Sigmoid is a sigmoid activation functio
func Sigmoid() Activation {
return Activation{
Name: sigmoid,
Expand Down
1 change: 1 addition & 0 deletions gone/genetic.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
)

var (
// ErrWeightsNotMatch is an error for when the parents don't have the same amount of weights.
ErrWeightsNotMatch = errors.New("gone: parents must have the exact same amount of weights")
)

Expand Down

0 comments on commit 4e96c62

Please sign in to comment.