Boost logo

Ublas :

Subject: Re: [ublas] [bindings] Problem with lapack::tgsen (and possible patch)
From: Marco Guazzone (marco.guazzone_at_[hidden])
Date: 2010-08-31 10:12:57


On Tue, Aug 31, 2010 at 8:57 AM, Rutger ter Borg <rutger_at_[hidden]> wrote:
> Marco Guazzone wrote:
>
>> Hello,
>>
>> If I compile the code you find in the attachment (lapack_tgsen.cpp)
>> with GCC v 4.4.4:
>>   g++ -Wall -Wextra -ansi -pedantic ...
>>
>> I get two errors:
>>
>> I've tried to create a both for both the real (i.e., the one
>> considered above) and complex case (see the other attachment).
>> [Yes, I know ... tgsen is autogenerated but the patch is just to give
>> you an idea of what to fix ;) ]
>>
>> What do you think?
>>
>> Thank you very much!!
>>
>> Cheers,
>>
>> -- Marco
>
> Thanks, I've changed the integer type conversion for workspace query
> functions in the generator so that references keep their fortran_int_t, and
> added your cases to the tgsen template. Committed to svn, please let me know
> if it works for you.
>

Thank you Rutget!

Just performed some test.
The patch seems to work well!

Cheers,

-- Marco