Boost logo

Ublas :

From: Thomas Lemaire (thomas.lemaire_at_[hidden])
Date: 2005-01-10 10:29:01


I am using boost 1.32, gcc 3.4, here is the peace of code :

template<class T>
        void setValue(T& t, const std::string& value) {
          std::stringstream s;
          s << value;
          s >> t;
};

and I try to use

setValue<ublas::symmetric_matrix<double> >

thomas

Michael Stevens wrote:
> Thomas,
>
> On Monday 03 January 2005 18:14, Thomas Lemaire wrote:
>
>>I have an error when compiling code that uses the input stream operator
>>on a symmetric matrix, the operator>> is not found. I compile the same
>>(templated) code with matrix without problem.
>>I #include "boost/numeric/ublas/io.hpp", did I miss something ? or is it
>>intentional because of problem with the real symmetry of the given data ?
>
>
> I would like to look at this. To speed things up can you provide a short test
> case and version information. I can then follow it up if I cannot reproduce
> it easily.
>
> Thanks,
> Michael

-- 
thomas
-- 
thomas