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

Closed 18 years ago

#497 closed defect (fixed)

SubRow breaks down TOLBase

Reported by: César Pérez Álvarez Owned by: danirus
Priority: high Milestone:
Component: Math Version: 1.1.5
Severity: critical Keywords:
Cc:

Description

If we compile this:

Matrix v = SetCol(1,2,3?);
Matrix subV = SubRow(v, SetOfReal(3,4));

TOLBase breaks down.

However, if we compile this:

Matrix v = SetCol(1,2?);
Matrix subV = SubRow(v, SetOfReal(2,3));

It shows this:

Warning: [3] Intento de acceso no válido de la función SubRow(v, 2.000000, 3.000000 ? )

I didn't try with other operators like SubCol but I think that could happen the same thing.

Change History (3)

comment:1 Changed 18 years ago by danirus

Status: newassigned

comment:2 Changed 18 years ago by danirus

'SubRow' was partially checking the Matrix Boundaries, now it's complete.
'SubCol' and 'Sub' were affected as well.

Cheers

comment:3 Changed 18 years ago by danirus

Resolution: fixed
Status: assignedclosed

Bug #497 fixed.

Note: See TracTickets for help on using tickets.