
Ublas : 
Subject: Re: [ublas] Is coordinate_matrix element assignment/insertion broken in 1.42?
From: Rutger ter Borg (rutger_at_[hidden])
Date: 20100226 05:19:31
Jesse Perla wrote:
> This yields:
> Matrix1:
> [3,3]((0.1,2.2,0),(0,0,0),(0,0,4.1))
> ......note the missing (1,1) value and maybe
> that (1,1) and maybe has been added to (0,0)
>
> And the following are the storage pointer data:
> rows_indices:
> 0
> 0
> 2
> 3.45282e+009
>
> columns_indices:
> 0
> 1
> 2
> 3.45282e+009
>
> value_data:
> 0.1
> 2.2
> 4.1
> 6.27744e+066
>
on gcc 4.4.3, this yields:
Matrix1:
[3,3]((0.1,1.1,0),(0,2.1,0),(0,0,4.1))
0
0
1
2
0
1
1
2
0.1
1.1
2.1
4.1