mirror of
https://github.com/Open-Argon/argon-v3.git
synced 2025-12-06 08:56:07 +00:00
fix ln and remove unused code
This commit is contained in:
@@ -24,7 +24,7 @@ func Ln(x number) number {
|
||||
}
|
||||
|
||||
func ArgonLn(a ...any) (any, ArErr) {
|
||||
if len(a) != 0 {
|
||||
if len(a) != 1 {
|
||||
return nil, ArErr{TYPE: "Runtime Error", message: "ln takes 1 argument, got " + fmt.Sprint(len(a)),
|
||||
EXISTS: true}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user