compile errors with ublas

23 May
2008
23 May
'08
8:05 a.m.
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::vectorstd::size_t vec( ( bnu::zero_vectorstd::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
6120
Age (days ago)
6120
Last active (days ago)
0 comments
1 participants
participants (1)
-
Sebastian Weber