[vsipl++] [patch] double support for SAL LU solver

Don McCoy don at codesourcery.com
Sun May 7 20:07:38 UTC 2006


Jules Bergmann wrote:
> Don McCoy wrote:
> 
>>   VSIP_THROW((std::bad_alloc))
>>     : length_ (lu.length_),
>>       ipiv_   (length_),
>> +     recip_  (length_),
>>       data_   (length_, length_)
>>   {
>>     data_ = lu.data_;
>>     for (index_type i=0; i<length_; ++i)
>> +   {
>>       ipiv_[i] = lu.ipiv_[i];
>> +     recip_ = lu.recip_;
> 
> 
> The recip_ assignment should go outside the loop, right?
> 
>> +   }
>>   }
> 
> 
> 
Yes.  Corrected.


-- 
Don McCoy
don (at) CodeSourcery
(888) 776-0262 / (650) 331-3385, x712
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lu3.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20060507/5f4d81ed/attachment.ksh>


More information about the vsipl++ mailing list