chore: follow up on 578df3d (weights w/ make)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
c35bd7c47f
commit
4af5b9ca1c
@ -217,7 +217,7 @@ func Composition2(x []float64) float64 {
|
|||||||
|
|
||||||
var sum float64
|
var sum float64
|
||||||
|
|
||||||
var weights []float64
|
weights := make([]float64, len(funcs))
|
||||||
|
|
||||||
for i := range funcs {
|
for i := range funcs {
|
||||||
wi := getWeight(x, o, sigma[i], fnx)
|
wi := getWeight(x, o, sigma[i], fnx)
|
||||||
@ -259,7 +259,7 @@ func Composition3(x []float64) float64 {
|
|||||||
|
|
||||||
var sum float64
|
var sum float64
|
||||||
|
|
||||||
var weights []float64
|
weights := make([]float64, len(funcs))
|
||||||
|
|
||||||
for i := range funcs {
|
for i := range funcs {
|
||||||
wi := getWeight(x, o, sigma[i], fnx)
|
wi := getWeight(x, o, sigma[i], fnx)
|
||||||
|
Loading…
Reference in New Issue
Block a user