Post Reply 
Possible BUG : product(set[])*product(set[...])
03-04-2020, 07:00 PM (This post was last modified: 05-06-2021 12:48 AM by compsystems.)
Post: #1
Possible BUG : product(set[])*product(set[...])
Hello, the product of an empty set is 1, so far everything is fine, but in the history, replace empty set, set[] with NULL and this generates an error when calling the entry and executing it again.

product( set[ ] ) * product( set[ a, b, c, a ] ) [enter] NULL*a*b*c -> 1*a*b*c // ok
[up][up][copy] product( NULL ) * product( set[ a, b, c, a ] ) // the null element in multiplication is 1
[enter]
"product(seq[]) Error: Bad Argument Value"

product( set[ ] ) * product(set[ 3, 3, 3, 1, 2 ]) [enter] 1*6 -> 6 // ok
[up][up][copy] [enter] "product(seq[]) Error: Bad Argument Value"

[Image: sets_image00.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Possible BUG : product(set[])*product(set[...]) - compsystems - 03-04-2020 07:00 PM



User(s) browsing this thread: 1 Guest(s)