Skip to content
Snippets Groups Projects

Fix #68

Closed Christian Engwer requested to merge fix-#68 into master
2 unresolved threads

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
89 89 * data points. (E.~g. OwnerOverlapCommunication )
90 90 */
91 91 NonoverlappingSchwarzOperator (const matrix_type& A, const communication_type& com)
92 : _A_(stackobject_to_shared_ptr(A)), communication(com), buildcomm(true)
93 {}
94
95 NonoverlappingSchwarzOperator (const std::shared_ptr<matrix_type> A, const communication_type& com)
  • I think this should be std::shared_ptr<const matrix_type> as well as the private member below, no? To match the const matrix_type&.

    I get the following compiler error in my code:

    /home/timok/dumux-dune-master/dune-istl/dune/istl/novlpschwarz.hh:92:78: error: no matching function for call to 'std::shared_ptr<Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > > >::shared_ptr(std::shared_ptr<const Dune::BCRSMatrix<Dune::FieldMatrix<double, 1, 1>, std::allocator<Dune::FieldMatrix<double, 1, 1> > > >)'
           : _A_(stackobject_to_shared_ptr(A)), communication(com), buildcomm(true)
                                                                                  ^
  • I fixed this in !294 (merged) (I don't have the rights to push here so I opened a new MR)

  • Please register or sign in to reply
  • Timo Koch
    Timo Koch @tkoch started a thread on the diff
  • 233 237 }
    234 238
    235 239 private:
    236 const matrix_type& _A_;
    240 const std::shared_ptr<matrix_type> _A_;
  • galerkintest issue confirmed. But today I don't have time to look into this...

  • I looked into it again. The galerkintest failure is an unrelated issue. It already exists on release/2.6, I'll open an issue (#70)

    Edited by Timo Koch
  • Hi guys, this MR fixes a crash in my code that I encountered recently. Please merge soonish. Thanks!

  • @oliver.sander This MR in completed in !294 (merged). !294 (merged) Should be ready to merge. I had to open a new MR because I'm not allowed to push here. You could assign @christi to !294 (merged), or merge yourself.

    Edited by Timo Koch
  • superseeded by !294 (merged) ...

  • Please register or sign in to reply
    Loading