Fix math log signature (#9845)

While we are at it also fix `math log` to a more narrow type.

This supersedes part of #9740
This commit is contained in:
Stefan Holderbach 2023-07-28 23:47:00 +02:00 committed by GitHub
parent 152a541696
commit b6dafa6e67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,10 +22,9 @@ impl Command for SubCommand {
) )
.input_output_types(vec![ .input_output_types(vec![
(Type::Number, Type::Float), (Type::Number, Type::Float),
(Type::Number, Type::Int),
( (
Type::List(Box::new(Type::Number)), Type::List(Box::new(Type::Number)),
Type::List(Box::new(Type::Number)), Type::List(Box::new(Type::Float)),
), ),
]) ])
.allow_variants_without_examples(true) .allow_variants_without_examples(true)