Franco, Le jeu. 18 juil. 2019 à 10:27, Franco Milicchio <franco.milicc...@gmail.com> a écrit : > Thanks for your answer. By the way, would a wrapper for the Eigen library be > appealing to anyone? I am sure it would be useful!
> -------------------------------------------------------- > An error occurred in line <382> of file > </Users/sensei/Downloads/src/dealii-9.1.0/include/deal.II/base/smartpointer.h> > in function > T *dealii::SmartPointer<const dealii::SparsityPattern, > dealii::SparseMatrix<double> >::operator->() const [T = const > dealii::SparsityPattern, P = dealii::SparseMatrix<double>] > The violated condition was: > pointed_to_object_is_alive > Additional information: > The object pointed to is not valid anymore. It looks like the sparsity pattern does not exist anymore. The matrix object does not keep a copy of the sparsity pattern, so the sparsity pattern needs to exist as long as the matrix that uses it is alive. Best, Bruno -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/CAGVt9eNGQNQt9qe389vk8ZWm2e02z_T8_cQ53_d%2B5KQ9%3DdX-jw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.