Le Vendredi 6 Octobre 2006 17:57, Bwalya Malama a écrit :
> typedef gmm::row_matrix< gmm::wsvector<complex<double> > > mymatrixtype;
>
> > mymatrixtype C(N2,N2);
> > gmm::diagonal_precond<mymatrixtype>  P();
> >
> > // ...
> > ... fill C
> > // ...
> >
> > P.build_with(C);

Sorry, the correct declaration is

typedef gmm::row_matrix< gmm::wsvector<complex<double> > > mymatrixtype;
mymatrixtype C(N2,N2);
gmm::diagonal_precond<mymatrixtype>  P;
// ...
// ... fill C
// ...
P.build_with(C);

i.e. no parentheses after the declaration of P.

Yves.

-- 
-------------------------------------------------------------------------
  Yves Renard ([EMAIL PROTECTED])       tel : (33) 04.72.43.80.11
  Pole de Mathematiques, INSA de Lyon          fax : (33) 04.72.43.85.29
  Departement d'Informatique
  Institut Camille Jordan - CNRS UMR 5208
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE
  http://math.univ-lyon1.fr/~renard
-------------------------------------------------------------------------

_______________________________________________
Getfem-users mailing list
[email protected]
https://mail.gna.org/listinfo/getfem-users

Reply via email to