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 13 years ago

Closed 13 years ago

#1514 closed defect (worksforme)

Can not replace TimeSet values with ":="

Reported by: André Baceti Owned by: Víctor de Buen Remiro
Priority: normal Milestone: Mantainance
Component: TimeAlgebra Version: 3.1
Severity: normal Keywords: TimeSet; Value update
Cc:

Description (last modified by Víctor de Buen Remiro)

It is not possible to replace a TimeSet value using :=. TimeSet value remains unchanged after the command.

Example code:

TimeSet test = WD(1);
test := WD(2);
//test keeps WD(1) as value

Change History (1)

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

Description: modified (diff)
Resolution: worksforme
Status: newclosed

It's impossible to warrant referential integrity due to the system cannot known if a Serie object has this TimeSet as dating. In this case, the length and indexing dates of that Serie will be mistaken and it could generate dangerous situations, invalid access, etc.

Note: See TracTickets for help on using tickets.