|
Boost Users : |
From: Sebastian Weber (sebastian.weber_at_[hidden])
Date: 2008-05-23 04:05:53
Hi!
I want to initialize an ublas vector with zeros and always
get compile errors in the debug mode which I do not
understand, since this is supposed to be the right way as
of the ublas FAQ:
std::size_t vecSize = 50;
bnu::vector<std::size_t> vec( (
bnu::zero_vector<std::size_t>(vecSize) ) );
What is wrong here? My versions are boost 1.35.0, gcc 4.3.0
on ubuntu hardy.
BTW, is there some quasi-official code to serialize ublas
vectors with the serialization library? I found some code on
this mailing list, but is there some code floating around in
the svn which I possibly missed?
Thanks a lot in advance.
Sebastian
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net