Opened 17 years ago
Closed 16 years ago
#584 closed defect (fixed)
Combination error
Reported by: | Jorge Conde | Owned by: | Christian Paz |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | SetAlgebra | Version: | head |
Severity: | blocker | Keywords: | |
Cc: |
Description
The "Combination" function returns a wrong object when the second argument is 1.
Example:
Set a = Range(1,3,1);
Set b = EvalSet(a, Set(Real r){
Combination(a, r)
});
Should return b as a set with three sets. The first with three elements (combinations of three elements taken one by one), the second with three (combs of three taken in groups of two), and the third with one (combs of three taken in groups of three).
The first one fails, returnig the same element as the third!
Change History (2)
comment:1 Changed 17 years ago by
Owner: | changed from danirus to Christian Paz |
---|
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Problem has been solved some months ago