Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Execution of "min(list(1,2),0)" asks for Overload Function "%l_min" #561

Open
rdbyk opened this issue May 27, 2018 · 0 comments
Open

Execution of "min(list(1,2),0)" asks for Overload Function "%l_min" #561

rdbyk opened this issue May 27, 2018 · 0 comments

Comments

@rdbyk
Copy link
Owner

rdbyk commented May 27, 2018

--> min(list(1,2))
 ans  =
   1. // OK

--> min(list(1,2),0)
in builtin                min 
Function not defined for given argument type(s),
  check arguments or define function %l_min for overloading. // NOT OK, cf. above

--> min(0,list(1,2))
min: Wrong type for input argument #2: A matrix expected. // OK, according to help page

Please note, max suffers from an analogous defect.

@rdbyk rdbyk changed the title Excutiong of "min(list(1,2),0)" asks for Overload Function "%l_min" Execution of "min(list(1,2),0)" asks for Overload Function "%l_min" May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant