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

Closed 12 years ago

Last modified 12 years ago

#1636 closed defect (fixed)

Fallo en TrSolve

Reported by: Jorge Owned by: Jorge
Priority: high Milestone: Mantainance
Component: Math Version: 3.1
Severity: critical Keywords:
Cc:

Description

La solución del sistema S*L'=B da errores con TrSolve

Matrix L = Diag(3, 1);

Matrix B = Rand(2, 3, 0, 1);

Matrix S = TrSolve(L, B, 0, 1, 1);

Set View([[S-B]], "");

genera la siguiente traza:

<W>
Warning: [1] Cannot apply TrSolve to matrices T(3x3) B(2x3) </W>
<W>
Warning: [2] <W>Wrong sizes when trying to subtract two matrices (0,0) and (2,3).</W>
</W>
$tmp$=

Change History (6)

comment:1 Changed 12 years ago by Jorge

Status: newaccepted

Prepararemos un test con diferentes opciones de argumentos.

comment:2 Changed 12 years ago by Jorge

(In [5542]) refs #1636 codigo de prueba para el bug

comment:3 Changed 12 years ago by Jorge

(In [5543]) refs #1636 codigo de prueba para el bug

comment:4 Changed 12 years ago by Jorge

Resolution: fixed
Status: acceptedclosed

(In [5544]) fixes #1636, checkeo incorrecto de la compatibilidad entre las matrices T y B

comment:5 Changed 12 years ago by Víctor de Buen Remiro

(In [5545]) Refs #1636
BDat version of dtrsm must call to double version

comment:6 Changed 12 years ago by Jorge

(In [5546]) refs #1636, improving the test, a real triangula matrix is used not just a diagonal one.

Note: See TracTickets for help on using tickets.