Boost logo

Ublas :

Subject: Re: [ublas] Possible defect in mapped_vector
From: Gunter Winkler (guwi17_at_[hidden])
Date: 2008-10-20 17:48:07


Am Samstag, 18. Oktober 2008 04:49 schrieb Benson Margulies:
> I am trying to use mapped_vector with map_array, as per doc.
>
> The first thing I do is resize, and it immediately sets of a
> consistency check in the map_array which throws.

Could you please attach a small failing example to the trac task?

>
> Both of the iterators are null, as is 'data' in the mapped_vector.
>

Please consider using compressed_vector or coordinate_vector. (At least
one of them should perform better than mapped_vector.)

@others: Is anyone using mapped_vector for large applications?

mfg
Gunter