The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Dlasq3: parameters listed as outputs depend on input value

Post here if you want to report a bug to the LAPACK team

Dlasq3: parameters listed as outputs depend on input value

Postby btracey » Wed Nov 04, 2015 3:17 pm

In Dlasq3, the iter count returned from the function depends on the input value given. The iter parameter in the documentation is listed as a pure output, but it is never initialized before "iter = iter + 1" on line 338. Smilarly, nDiv is never initialized before "ndiv = ndiv + ( n0-i0+2 )" on line 337. It seems like either the documentation should be fixed to reflect this or the values should be initialized before they are used.
btracey
 
Posts: 11
Joined: Mon Aug 10, 2015 6:40 pm

Re: Dlasq3: parameters listed as outputs depend on input val

Postby Julien Langou » Fri Nov 13, 2015 2:15 pm

Hi Tracey, you are correct, these variables are counters and they are incremented by LASQ3 and they should be initialized before calling LASQ3, so they should be IN/OUT. We have just updated the documentation. Thanks! Julien.
Julien Langou
 
Posts: 835
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA


Return to Bug report

Who is online

Users browsing this forum: No registered users and 1 guest