close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#768 closed defect (fixed)

ActiveTOL. BinGroup con conjuntos estructurados

Reported by: Javier Portugal Owned by: Víctor de Buen Remiro
Priority: highest Milestone: Mantainance
Component: SetAlgebra Version: head
Severity: critical Keywords:
Cc:

Description

Los conjuntos setPrueba01 y setPrueba02 son iguales, excepto por el hecho de que el segundo es estructurado. Al hacer un BinGroup sobre el primero va bien mientras que al hacerlo sobre el segundo da el siguiente error:

ERROR: [13] No se puede aplicar la estructura @TclArgSt que tiene 2 campos a un conjunto con 4 elementos

ERROR: [14] No se puede aplicar la estructura @TclArgSt

Set setPrueba01 = SetOfSet(
  SetOfText("-uno", "1"),
  SetOfText("-dos", "2"),
  SetOfText("-tre", "3"),
  SetOfText("-cua", "4")
);
Set res01 = BinGroup("+",setPrueba01);


Set setPrueba02 = SetOfSet(
  TclArgSt("-uno", "1"),
  TclArgSt("-dos", "2"),
  TclArgSt("-tre", "3"),
  TclArgSt("-cua", "4")
);
Set res02 = BinGroup("+",setPrueba02);

Change History (4)

comment:1 Changed 15 years ago by Víctor de Buen Remiro

Status: newaccepted

comment:2 Changed 15 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: acceptedclosed

(In [1594]) The operator + cannot use a copy of (*this) due we don't want structure and other features but just the elements.
Fixed #768

comment:3 Changed 15 years ago by Víctor de Buen Remiro

Milestone: Manteinance

comment:4 Changed 15 years ago by Víctor de Buen Remiro

Component: KernelSetAlgebra
Note: See TracTickets for help on using tickets.