On Wednesday 31 October 2007 11:17, Andriy Andreykiv wrote:
> Dear Yves,
>
>       In the attachment you can find a program that has previously mentioned
> problem with two NonLin terms in one "comp" expression.
>       When you unzip the archive, the troublesom assembly takes place  in the
> end of the file level_set_elliptic.cc,  in a matrix KuuOm1. If you comment
> out this matrix, you'll see that the above terms are successfully computed
> in two separate statements, while when they are combined in KuuOm1 matrix
> calculation I'm getting an error:
> ============================================
>
> |      An error has been detected !!!      |
>
> ============================================
> Error in dal_static_stored_objects.cc, line 205 :
> This object is not stored : 0xa3993cc typename: N6getfem13mat_elem_typeE


The problem was on line 72 of  getfem_mat_elem_type.cc . The line

dal::del_stored_object(*it);

has to be replaced by

if (exists_stored_object(*it)) dal::del_stored_object(*it);

Thank you for your bug report !

Yves.



-- 

  Yves Renard ([EMAIL PROTECTED])       tel : (33) 04.72.43.87.08
  Pole de Mathematiques,                       fax : (33) 04.72.43.85.29
  INSA de Lyon, Universite de Lyon
  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