boussaffawalid / muparserx

Automatically exported from code.google.com/p/muparserx
Other
0 stars 0 forks source link

Bad implicit behavior of some functions. #23

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Try min, max or sum function.

min() -> returns number but should encounter an error, you simply cannot get 
minimum of nothing, same with max and similar with sum.

I recommedn you to create constraint on minimum parameter count. For example 
like in my fix.

Original issue reported on code.google.com by Rotter.M...@gmail.com on 29 Jan 2013 at 6:56

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the fix i added it to V2.1.7 (SVN)

Original comment by ib...@gmx.info on 29 Jan 2013 at 10:08