Skip to content
Snippets Groups Projects
  • Elias Pipping's avatar
    50a3647a
    Do not call check() on preconditioners · 50a3647a
    Elias Pipping authored
    Preconditioners are supposed to be used through the
    
      setMatrix(M);
      apply(x, b);
    
    interface. The members M, x, and b inherited from LinearIterationStep
    will thus not be set upfront, yet if LinearIterationStep::check
    was to check for anything, it should be those (pointer!) members.
    50a3647a
    History
    Do not call check() on preconditioners
    Elias Pipping authored
    Preconditioners are supposed to be used through the
    
      setMatrix(M);
      apply(x, b);
    
    interface. The members M, x, and b inherited from LinearIterationStep
    will thus not be set upfront, yet if LinearIterationStep::check
    was to check for anything, it should be those (pointer!) members.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
cgstep.cc 1.61 KiB