|
Ublas : |
Subject: Re: [ublas] lapack bindings: ppsv returns info=2
From: George Slavov (gpslavov_at_[hidden])
Date: 2011-04-23 10:37:11
Thank you for the help! column_major did the trick.
Best,
George
On 4/23/2011 7:58 AM, Rutger ter Borg wrote:
> On 2011-04-22 22:59, Rutger ter Borg wrote:
>
>> You're right, the pp-prefix should be fine in this case. I sounds like
>> something isn't passed right -- it has been a while since I've checked
>> the details of packed storage, but have you tried column_major ordering
>> for the symmetric matrix?
>>
>> ublas::symmetric_matrix<double, ..., column_major >
>>
>> If this happens to make things work, it is a bug in the bindings. In
>> that case, it sounds like it is missing a static assertion / check for
>> this case.
>>
>
> I can confirm that it is probably due to insufficient checking of the
> packed data structure (adding column_major does the trick). If it is
> possible to do stuff like swapping lower/row_major with
> upper/column_major, we should add that trickery to uplo_tag.
>
> Cheers,
>
> Rutger
>
> _______________________________________________
> ublas mailing list
> ublas_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/ublas
> Sent to: gpslavov_at_[hidden]