|
Ublas : |
Subject: [ublas] indirect_array<> and resize()
From: Ralf Denzer (Ralf.Denzer_at_[hidden])
Date: 2008-09-19 09:12:23
Hi,
is there a good reason why a member resize() is
not defined for ublas::indirect_array<> in storage.hpp or elsewhere?
I.e.
unsigned n = 3;
ublas::indirect_array<> ia(n);
...
ia.resize(7);
give with g++
struct boost::numeric::ublas::indirect_array<boost::numeric::ublas::unbounded_array<unsigned int, std::allocator<unsigned int> > >' has no member named 'resize'
make: *** [test_ublas_indirect.o] Error 1
*** Exited with status: 2 ***
An unbounded_array as the underlying data structure should be resizeable.
Ciao,
Ralf
________________________________________________________________________
Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html