MaxHalford/eaopt

View on GitHub
oes.go

Summary

Maintainability
A
35 mins
Test Coverage

Function NewOES has 5 return statements (exceeds 4 allowed).
Open

func NewOES(nPoints, nSteps uint, sigma, lr float64, parallel bool, rng *rand.Rand) (*OES, error) {
    // Check inputs
    if nPoints < 3 {
        return nil, errors.New("nPoints should be at least 3")
    }
Severity: Major
Found in oes.go - About 35 mins to fix

    There are no issues that match your filters.

    Category
    Status