controllogic: drop sign alias shim + add array node tests (set/remove/pop)

This commit is contained in:
Martino Ferrari
2026-06-24 20:02:52 +02:00
parent 550ec06bc8
commit 3133e50e09
3 changed files with 50 additions and 4 deletions
-2
View File
@@ -353,8 +353,6 @@ func signOf(x float64) int {
}
}
// sign is an alias for signOf, kept for backward compatibility with existing tests.
func sign(x float64) int { return signOf(x) }
func clampIdx(i, length int) int {
if i < 0 {
i = length + i