Boost logo

Ublas :

Subject: Re: [ublas] [bindings] Complex-type pointer-conversion error
From: Rutger ter Borg (rutger_at_[hidden])
Date: 2009-01-16 11:41:34


Thomas Klimpel wrote:
> I would say you forgot to pass the pointer through complex_ptr when
> calling the lapack function. complex_ptr does a reinterpret_cast, because
> there is no other way from a boost::numeric::bindings::traits::complex_f*
> to a const float __complex__*.

Thanks, that fixed it. It actually occured because apparently {c,z}larz is
one of the routines that has a less common non-array complex argument TAU.

Cheers,

Rutger