Boost logo

Ublas :

From: Peter Schmitteckert (peter_at_[hidden])
Date: 2006-01-03 09:08:56


Salut,

On Tue, 3 Jan 2006, Joris Peeters wrote:

>
> matrix<complex<double> > sub = prod(herm(B),B); //test1

Please try

matrix<complex<double> > sub( B.size2(), B.size2() );
sub.assign( prod(herm(B),B) );

Best regrds,
Peter