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

Bug in (c/z)hgeqz.f

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

Bug in (c/z)hgeqz.f

Postby akobotov » Sat Jul 18, 2015 7:39 pm

Hello LAPACKers,

Recent commit r1533 introduced out of bound access which could lead to a crash.
It results scaling of a vector instead of a single number.
Fix is simple:

zhgeqz.f:669
- CALL ZSCAL( ILAST, SIGNBC, H( ILAST, ILAST ), 1 )
+ CALL ZSCAL( 1, SIGNBC, H( ILAST, ILAST ), 1 )

Similar for chgeqz on line 668

Best regards,
Alexander
akobotov
 
Posts: 11
Joined: Wed Feb 03, 2010 7:38 am
Location: Intel Corp., Russia, Novosibirsk

Re: Bug in (c/z)hgeqz.f

Postby admin » Sat Jul 18, 2015 7:54 pm

Thank you Alexander,
I committed the fix (revision 1559.)
Julie
admin
Site Admin
 
Posts: 616
Joined: Wed Dec 08, 2004 7:07 pm


Return to Bug report

Who is online

Users browsing this forum: No registered users and 1 guest