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

#469 closed defect (fixed)

GSL solving on matrices with empty dimensions

Reported by: Jorge Owned by: Víctor de Buen Remiro
Priority: highest Milestone:
Component: Math Version: head
Severity: blocker Keywords:
Cc:

Description

The following code

Matrix A = Rand(0,0,0,1);
Matrix x = Rand(0,0,0,1);
Matrix b = MinimumResidualsSolve(A,x);

output this:

<W>
Warning: [1] <W>Intento de multiplicaci&#65533;n de una matriz vac&#65533;a.</W>
</W>
<W>
Warning: [2] <W>Intento de multiplicaci&#65533;n de una matriz vac&#65533;a.</W>
</W>
Segmentation fault (core dumped)

This piece of code is solved but a general solution should be implemented which catch all possible exceptions from GSL.

Change History (3)

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

Owner: changed from Jorge to Víctor de Buen Remiro

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

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000469

Problem has been solved in CVS and a test has been added

Thanks to report

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

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.