plan updated
This commit is contained in:
1 parent
c53a49e540
commit
336095c052
1 file changed
+1
-7
@@ -224,13 +224,7 @@ func normalizeValue(v any) Value {
|
|||||||
return 1.0
|
return 1.0
|
||||||
}
|
}
|
||||||
return 0.0
|
return 0.0
|
||||||
case []interface{}:
|
case []interface{}: // note: []Value == []interface{} since Value = any, so this covers both
|
||||||
out := make([]Value, len(t))
|
|
||||||
for i, e := range t {
|
|
||||||
out[i] = normalizeValue(e)
|
|
||||||
}
|
|
||||||
return out
|
|
||||||
case []Value:
|
|
||||||
out := make([]Value, len(t))
|
out := make([]Value, len(t))
|
||||||
for i, e := range t {
|
for i, e := range t {
|
||||||
out[i] = normalizeValue(e)
|
out[i] = normalizeValue(e)
|
||||||
|
|||||||
Reference in new issue
Block a user